0.0.10 • Published 3 years ago

iautocomplete v0.0.10

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

Iautocomplete

This library was generated with Angular CLI version 10.0.14.

How to use

module.ts

import library in your root module.ts file

import { IautocompleteModule } from 'iautocomplete'

@NgModule({
    declarations: [
        ...
    ],
    imports: [
        IautocompleteModule
    ],
    providers: [ ... ],
    bootstrap: [ ... ]
})

export class AppModule { }

component.html

<lib-iautocomplete
    [(ngModel)]="value"
    [config]="configData">
</lib-iautocomplete>

component.ts

import { Component } from '@angular/core';
...

export class AppComponent {
    value: string = '1';
    configData: any = null;

    ngOnInit(): void {
        this.configData = {
            data: [{ value: '1', text: 'User' }, { value: '2', text: 'Normal' }],
            className: 'class name if any', // optional
            style: 'pass your style', // optional
            isMultiselect: false, // optional
            placeholder: 'No item available', // optional
            tabIndex: 0 // optional
        }
    }
}
```

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
```
0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago