File tree Expand file tree Collapse file tree
leavittbook/src/demos/titanium-chip Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -65,7 +65,13 @@ export class TitaniumChipPlayground extends LitElement {
6565 </ titanium-chip >
6666
6767 < titanium-chip non-interactive label ="Non-interactive " title ="This is a non-interactive chip "> </ titanium-chip >
68+
6869 < titanium-chip disabled label ="Disabled "> </ titanium-chip >
70+
71+ < titanium-chip disabled label ="Disabled with remove button " input-chip @remove =${ ( ) => alert ( 'remove!' ) } @click =${ ( ) => alert ( 'click!' ) } >
72+ < md-icon slot ="icon "> task_alt</ md-icon >
73+ </ titanium-chip >
74+
6975 < titanium-chip href ="https://google.com " target ="_blank " download ="google.xls " label ="Href demo "> </ titanium-chip >
7076 ` ;
7177 }
Original file line number Diff line number Diff line change @@ -200,6 +200,7 @@ export class TitaniumChip extends LitElement {
200200 ${
201201 this . inputChip
202202 ? html `< md-icon-button
203+ ?disabled =${ this . disabled }
203204 @click =${ ( e : MouseEvent ) => {
204205 e . stopPropagation ( ) ;
205206 this . dispatchEvent ( new Event ( 'remove' ) ) ;
You can’t perform that action at this time.
0 commit comments