aboutsummaryrefslogtreecommitdiffstats
path: root/stories/ng2-component-lab/search-bar.component.exp.ts
blob: 4a7e1fd907100ce9af4c74550d0da9fa192df7ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { experimentOn } from '@islavi/ng2-component-lab';

export default experimentOn('Search Bar').group('SearchBar', [
    {
        id: 'search-bar',
        title: 'Search Bar',
        description: "The search text is updated on click on the magnify",
        showSource: true,
        template: `
        The text to search: {{searchText}}
        <sdc-search-bar placeholder="search text"
                        label="search example:"
                        [searchQuery]="searchText"
                        (searchQueryClick)="searchText = $event"
                        >
        </sdc-search-bar>
    `
    }
]);