File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ export abstract class Button extends LitElement {
3636
3737 @property ( { type : String } ) label = '' ;
3838
39- @property ( { type : String } ) ariaLabel = '' ;
39+ @property ( { type : String } ) ariaLabel ! : string ;
4040
4141 @property ( { type : Boolean } ) hasIcon = false ;
4242
Original file line number Diff line number Diff line change @@ -15,9 +15,9 @@ type LinkTarget = '_blank'|'_parent'|'_self'|'_top';
1515
1616/** @soyCompatible */
1717export abstract class LinkButton extends Button {
18- @property ( { type : String } ) href = '' ;
18+ @property ( { type : String } ) href ! : string ;
1919
20- @property ( { type : String } ) target = '' ;
20+ @property ( { type : String } ) target ! : string ;
2121
2222 /**
2323 * @soyTemplate
@@ -36,7 +36,7 @@ export abstract class LinkButton extends Button {
3636 @touchend ="${ this . handleRippleDeactivate } "
3737 @touchcancel ="${ this . handleRippleDeactivate } "> <!--
3838 --> < a class ="md3-button ${ classMap ( this . getRenderClasses ( ) ) } "
39- href ="${ this . href } "
39+ href ="${ ifDefined ( this . href ) } "
4040 target ="${ ifDefined ( this . target as LinkTarget ) } "
4141 aria-label ="${ ifDefined ( this . ariaLabel ) } "> <!--
4242 --> ${ this . renderFocusRing ( ) } <!--
You can’t perform that action at this time.
0 commit comments