sp-multi-select-dropdown
TypeScript icon, indicating that this package has built-in type declarations

1.1.3 • Public • Published

sp-multi-select-dropdown

Installation

To install this library, run:

$ npm install sp-multi-select-dropdown --save

and then from your Angular AppModule:

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
 
import { AppComponent } from './app.component';
 
// Import SpMultiSelectDropdownModule
import { SpMultiSelectDropdownModule } from 'sp-multi-select-dropdown';
 
@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
 
    // Specify SpMultiSelectDropdownModule as an import
    SpMultiSelectDropdownModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

Once your library is imported, you can use its SpMultiSelectDropdown in your Angular application:

<!-- You can now use SpMultiSelectDropdown component in app.component.html -->
<h1>
  {{title}}
</h1>
<sp-multi-select-dropdown [placeholder]="'placeholder text'" [items]="items" (change)="onChange($event)"></sp-multi-select-dropdown>

Development

To generate all *.js, *.d.ts and *.metadata.json files:

$ npm run build

To lint all *.ts files:

$ npm run lint

License

MIT © srjn45

Change Log

1.1.3

added keywords

1.1.2

added placeholder

Dependents (0)

Package Sidebar

Install

npm i sp-multi-select-dropdown

Weekly Downloads

3

Version

1.1.3

License

MIT

Unpacked Size

23.2 kB

Total Files

10

Last publish

Collaborators

  • srjn45