
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@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
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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.