-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Truc S. Giang
committed
Jan 3, 2020
1 parent
4d81a0e
commit 00c1acc
Showing
5 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<h5>Static options</h5> | ||
<select smpl-select2 [static]="true" style="width: 200px;" (select)="selectOption($event)"> | ||
<select smplSelect2 [static]="true" style="width: 200px;" (select)="selectOption($event)"> | ||
<option value="1">Option 1</option> | ||
<option value="2">Option 2</option> | ||
<option value="3">Option 3</option> | ||
</select> | ||
|
||
<h5>Dynamic data</h5> | ||
<select smpl-select2 [dataSource]="simpleDataSource" valueProperty="value" displayProperty="title" style="width: 200px;" | ||
<select smplSelect2 [dataSource]="simpleDataSource" valueProperty="value" displayProperty="title" style="width: 200px;" | ||
(select)="selectOption($event)"></select> | ||
|
||
<h5>Async data source</h5> | ||
<select smpl-select2 [dataSource]="asyncDataSource" placeholder="Type something..." style="width: 200px;" | ||
<select smplSelect2 [dataSource]="asyncDataSource" placeholder="Type something..." style="width: 200px;" | ||
(select)="selectOption($event)"></select> |