Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@wolf_and_associates/navbar
Advanced tools
A navbar for use with Wolf & Associates projects. Works directly with `@wolf_and_associates/popover` to display complex navigation needs.
A navbar for use with Wolf & Associates projects. Works directly with @wolf_and_associates/popover
to display complex navigation needs.
This library must use the same Angular Compiler version as the project you are adding it to.
Import the NavbarModule
in your project's app.module.ts
:
import { NavbarModule } from '@wolf_and_associates/navbar';
@NgModule({
// ...
imports: [
// ...
NavbarModule
]
})
Input | Type | Defaults | Required | Description |
---|---|---|---|---|
logo_url | string | true | The navbar image source URL | |
brand_title | string | false | The navbar brand title | |
show_logout | boolean | true | false | Show the logout button, when clicked emits onLogoutClick |
items | PopoverMenuItem[] | [] | true | The items in the menu |
show_brand_title_at_top | boolean | true | false | Should the brand title text be shown while at the top of the page |
Event | Parameters | Description |
---|---|---|
onLogoutClick | EventEmitter | The user clicked the logout button |
onPopoverMenuClosed | EventEmitter<ComponentRef> | When the popover closes |
onPopoverMenuOpen | EventEmitter<ComponentRef> | When the popover opens |
onContentOutletClick | EventEmitter | The user clicked a content_outlet PopoverMenuItem |
onIframeOutletClick | EventEmitter | The user clicked an iframe PopoverMenuItem |
onIframeOutletOpen | EventEmitter | When the iframe popover opens |
onIframeOutletClosed | EventEmitter | When the iframe popover closes |
Property | Type | Defaults | Description |
---|---|---|---|
mobile_collapsed | boolean | true | Is the menu collapsed (mobile only) |
iframe_popover_url | string | The URL that is used in the popover iframe | |
iframe_popover_close_btn | boolean | true | Should the iframe close button be visible |
popovers | { subscriptions: Subscription[]; component: ComponentRef }[] | All open popovers |
Method | Parameters | Description |
---|---|---|
closeAllPopovers | Close all popovers | |
toggleMobileCollapse | Toggles the navbar menu for mobile | |
closeIframePopover | Close the open iFrame popover | |
closePopoverMenu | Close the most recently opened Popover | |
onIframeOutletClicked | event: PopoverMenuItem | Load an iframe popover. If using the wolfltc.com/calculators endpoint, the close button is disabled by default |
onIframeClosed | The user closed the iframe popover | |
onIframeOpen | The user opened the iframe popover | |
go | item: PopoverMenuItem | Perform some PopoverMenuItem action |
<wolfltc-navbar [logo_url]="'assets/images/LARGEW.svg'" [brand_title]="'WOLF & ASSOCIATES'" [items]="auth.user.network?.navbar" [show_logout]="true" (onLogoutClick)="auth.logout()" (onContentOutletClick)="loadContentOutlet($event)"></wolfltc-navbar>
This library requires the @wolf_and_associates/popover
library.
ng build --project=popover --watch
# In another terminal...
cd projects/navbar
rm -rf package-lock.json node_modules/
npm i ../../dist/popover
cd ../../
ng build --project=navbar --watch
# In another terminal...
cd destination-project/
npm i ../wolfltc-ngx/dist/popover
FAQs
A navbar for use with Wolf & Associates projects. Works directly with `@wolf_and_associates/popover` to display complex navigation needs.
The npm package @wolf_and_associates/navbar receives a total of 0 weekly downloads. As such, @wolf_and_associates/navbar popularity was classified as not popular.
We found that @wolf_and_associates/navbar demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.