├── src ├── assets │ └── .gitkeep ├── app │ ├── routes │ │ ├── route2 │ │ │ ├── route2.component.html │ │ │ └── route2.component.ts │ │ └── route1 │ │ │ ├── route1.component.html │ │ │ └── route1.component.ts │ ├── app.component.html │ ├── ng-view │ │ ├── ng-view.component.html │ │ └── ng-view.component.ts │ ├── ng-holder │ │ ├── ng-holder.component.html │ │ └── ng-holder.component.ts │ ├── app.component.ts │ ├── app-routing.module.ts │ └── app.module.ts ├── favicon.ico ├── environments │ ├── environment.prod.ts │ └── environment.ts ├── tsconfig.app.json ├── tsconfig.spec.json ├── index.html ├── tslint.json ├── main.ts ├── browserslist ├── test.ts ├── karma.conf.js ├── polyfills.ts └── styles.css ├── demo.gif ├── demo2.gif ├── projects └── ng-auto-complete │ ├── ng-package.json │ ├── src │ ├── lib │ │ ├── classes │ │ │ ├── typing.ts │ │ │ ├── AutocompleteItem.ts │ │ │ └── AutocompleteGroup.ts │ │ ├── pipes │ │ │ ├── key-value.ts │ │ │ ├── pipes.module.ts │ │ │ └── highlight.ts │ │ ├── ng-auto-complete.module.ts │ │ ├── utils │ │ │ └── utils.ts │ │ ├── ng-auto-complete.component.ts │ │ ├── dropdown │ │ │ └── ng-dropdown.directive.ts │ │ └── completer │ │ │ └── completer.component.ts │ ├── public_api.ts │ └── test.ts │ ├── tsconfig.spec.json │ ├── tslint.json │ ├── package.json │ ├── tsconfig.lib.json │ └── karma.conf.js ├── e2e ├── src │ ├── app.po.ts │ └── app.e2e-spec.ts └── tsconfig.e2e.json ├── .editorconfig ├── CONTRIBUTING.md ├── .gitignore ├── tsconfig.json ├── LICENSE ├── package.json ├── CODE_OF_CONDUCT.md ├── tslint.json ├── angular.json └── README.md /src/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sengirab/ngAutocomplete/HEAD/demo.gif -------------------------------------------------------------------------------- /demo2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sengirab/ngAutocomplete/HEAD/demo2.gif -------------------------------------------------------------------------------- /src/app/routes/route2/route2.component.html: -------------------------------------------------------------------------------- 1 |
2 | route2 works! 3 |
4 | -------------------------------------------------------------------------------- /src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sengirab/ngAutocomplete/HEAD/src/favicon.ico -------------------------------------------------------------------------------- /src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true 3 | }; 4 | -------------------------------------------------------------------------------- /src/app/app.component.html: -------------------------------------------------------------------------------- 1 | ROUTE1-ROUTE2 2 | 3 |I have made all NgAutoCompleteComponent and CompleterComponent functions public, so you could do a lot more than i'll show you
489 |
I've documented the functions of which i think their useful:
490 |
491 | ### Usage
492 | ```typescript
493 | @ViewChild(NgAutoCompleteComponent) public completer: NgAutoCompleteComponent;
494 | ```
495 |
496 | | Function | Description |
497 | | :--- | :---: |
498 | | FindCompleter((key: string, list: QueryList