Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@angular-material-extensions/components
Advanced tools
Readme
View all the directives in action at https://angular-material-extensions.io/
8.x
Now install @angular-material-extensions/components
via:
npm install --save @angular-material-extensions/components
mat-menu-button
- material selection box with icons or images learn moreOnce installed you need to import the main module:
import { MatMenuButtonModule } from '@angular-material-extensions/components';
The only remaining part is to list the imported module in your application module. The exact method will be slightly
different for the root (top-level) module for which you should end up with the code similar to (notice MatPasswordStrengthModule .forRoot()
):
import { MatMenuButtonModule } from '@angular-material-extensions/components';
import { MatDialogModule } from '@angular/material';
@NgModule({
declarations: [AppComponent, ...],
imports: [
MatMenuButtonModule,
MatDialogModule,
...],
bootstrap: [AppComponent]
})
export class AppModule {
}
<mat-menu-button [menuItems]="menuItems"
(onMenuItemSelected)="onMenuItemSelected($event)">
</mat-menu-button>
import {MatMenuButtonItem} from '@angular-material-extensions/components';
menuItems: MatMenuButtonItem[] = [
{
key: 'mute_key',
imgURL: 'assets/img/icons/essential-collection/png/mute.png',
text: 'Mute'
},
{
key: 'play_key',
imgURL: 'assets/img/icons/essential-collection/png/play-button-1.png',
text: 'Play'
},
{
key: 'pause_key',
imgURL: 'assets/img/icons/essential-collection/png/pause-1.png',
text: 'Pause'
},
];
onMenuItemSelected(menuKey: string) {
console.log('menu key:', menuKey);
}
Built by and for developers :heart: we will help you :punch:
This project is supported by jetbrains with 1 ALL PRODUCTS PACK OS LICENSE incl. webstorm
Copyright (c) 2019 Anthony Nahas. Licensed under the MIT License (MIT)
FAQs
Unknown package
The npm package @angular-material-extensions/components receives a total of 1 weekly downloads. As such, @angular-material-extensions/components popularity was classified as not popular.
We found that @angular-material-extensions/components 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.