0.0.1 • Published 3 years ago

ngx-sand-simple-select v0.0.1

Weekly downloads
6
License
-
Repository
-
Last release
3 years ago

Demo

npm.io

Table of contents

Features

  • Type and search at the same time

Goto Top

Getting Started

Step 1 : Install the package

NPM

npm install ngx-sand-simpleselect

Step 2 : After installation import SandSimpleSelectModule into your root or feature module

import { SandSimpleSelectModule } from 'sand-simple-select'

Step 3 : Add SandSimpleSelectModule to the imports of your NgModule

@NgModule({
  imports: [
    ...,
    SandSimpleSelectModule
  ],
  ...
})
class YourModule { ... }

Usage

  • Use <ngx-sand-simpleselect></ngx-sand-simpleselect> in your templates to add the default dropdown in your view like below
  <sand-simple-select 
  [dropdowndata]="dropdowndata" 
  [disabledropdwon]="disabled" 
  [selectLabel]="selectLabel"
  [noDataText]="noDataText" 
  (select)="onSelect($event)"  
  (search)="onSearch($event)" 
  (open)="open($event)" 
  (close)="close($event)">
    </sand-simple-select>

Goto Top