zr-dropdown-selection
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

About

This is a drop-down component

Installation

Install through npm:

npm install --save zr-dropdown-selection

Then include in your apps module:

import { NgModule } from '@angular/core';
import { ZrDropdownSelectionModule } from 'zr-dropdown-selection';
 
@NgModule({
  imports: [
    ZrDropdownSelectionModule.forRoot()
  ]
})
export class MyModule {}

Finally use in one of your apps components:

import { Component } from '@angular/core';
 
@Component({
  template: `<zr-dropdown-selection [options]='options' [dropText]="'部门'" (selected)='handle1($event)'></zr-dropdown-selection>`
})
 
export class MyComponent {}

Package Sidebar

Install

npm i zr-dropdown-selection

Weekly Downloads

6

Version

1.1.0

License

MIT

Unpacked Size

171 kB

Total Files

19

Last publish

Collaborators

  • zhongruigroup