Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
ngx-flyout-ivy
Advanced tools
No Drama Sidebar/Flyout/Sidenav Component For Angular 6 and greater.
npm i ngx-flyout --save
See the releases page on GitHub.
Add FlyoutModule
to your app module:
import { FlyoutModule } from 'ngx-flyout';
@NgModule({
declarations: [AppComponent],
imports: [BrowserModule, FlyoutModule],
bootstrap: [AppComponent],
})
class AppModule {}
In your app component, simply use add a <ngx-flyout>
wrapper, then place the content you want in your flyout within it.
@Component({
selector: 'app',
template: `
<!-- Container for sidebar(s) + page content -->
<ngx-flyout [(open)]="openFlyout">
<ul>
<li>Menu 1</li>
<li>Menu 2</li>
<li>Menu 3</li>
</ul>
</ngx-flyout>
<button (click)="toggleSidebar">
Toggle Flyout
</button>
`
})
class AppComponent {
private openFlyout: boolean = false;
private toggleSidebar() {
this.openFlyout = !this.openFlyout;
}
}
Property name | Type | Default | Description |
---|---|---|---|
open | boolean | false | Controls the open state of the flyout. This should be two-way bound. |
position | 'left' , 'right' , 'top' , 'bottom' | 'right' | What side the flyout should open. |
showCloseButton | showCloseButton: boolean | true | Controls visibility of close button. |
flyoutClasses | flyoutClasses: string[] | Additional styling classes for flyout. | |
showBackdrop | showBackdrop: boolean | true | Controls visiblity of backdrop. |
hideOnBackdropClick | hideOnBackdropClick: boolean | true | If clicking on backdrop closes the flyout or not. |
backdropClasses | backdropClasses: string[] | Additional styling classes for backdrop |
Property name | Callback arguments | Description |
---|---|---|
flyoutOpened | Emitted when flyout is opened. | |
flyoutClosed | Emitted when flyout is closed. | |
openChange | open: boolean | Emitted when open is modified. This allows to do "two-way binding" |
FAQs
Angular Sidebar/Flyout/Sidenav Component.
The npm package ngx-flyout-ivy receives a total of 2 weekly downloads. As such, ngx-flyout-ivy popularity was classified as not popular.
We found that ngx-flyout-ivy 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.