This project provides text-inputs for custom search queries. A query can have multiple arguments with each having a "search-category" and an assigned value. Queries have the following syntax:
<CategoryName1>: <Value1> <CategoryName2>: <Value2>
Install via npm package manager using the following command:
npm install ng2-query-input --save
Add it to your module by importing it and adding it to the import-section
import { QueryInputModule } from 'ng2-query-input/ng2-query-input';
@NgModule({
declarations: [
...
],
imports: [
...,
QueryInputModule
]
})
export class ... { }
Documentation still left to do. Have a look at the example implementation in /src/example-app/
You can find the working example here: http://www.fabian-scheidt.de/projects/ng2-query-input/
The MIT License (see the LICENSE file for the full text)