Select FX
Importing
import { pgSelectfx } from '../@pages/components/cs-select/select.module';
@NgModule({
imports: [pgSelectfx,...]
})
export class AppModule(){}How to use
<pg-select-fx style="width: 110px" [(ngModel)]="selectedOptionCS" [PlaceHolder]="'Select'" AllowClear>
<pg-selectfx-option
*ngFor="let option of csoptions"
[Label]="option.label"
[Value]="option"
[Disabled]="option.disabled">
</pg-selectfx-option>
</pg-select-fx>csoptions = [
{ value: 'Web-safe', label: 'Web-safe' },
{ value: 'Helvetica', label: 'Helvetica' },
{ value: 'SegeoUI', label: 'SegeoUI' }
];
selectedOptionCS;API
Options API
Last updated