test(select): add demo for the selected text

references #7341
This commit is contained in:
Brandy Carney
2016-08-03 12:33:20 -04:00
parent cc343d8ed2
commit 43d8bbdd12
3 changed files with 60 additions and 26 deletions

View File

@ -184,9 +184,9 @@ export class Select implements AfterContentInit, ControlValueAccessor, OnDestroy
* @input {string} The interface the select should use: `action-sheet` or `alert`. Default: `alert`.
*/
@Input() interface: string = '';
/**
* @input {string} The selected text should be showen.
* @input {string} The text to display instead of the selected option's value.
*/
@Input() selectedText: string = '';