File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ export enum SnippetType {
5151 class="bx--btn bx--btn--ghost bx--btn--sm bx--snippet-btn--expand"
5252 (click)="toggleSnippetExpansion()"
5353 type="button">
54- <span class="bx--snippet-btn--text">{{snippetExpanded ? translations.SHOW_LESS : translations.SHOW_MORE}}</span>
54+ <span class="bx--snippet-btn--text">{{expanded ? translations.SHOW_LESS : translations.SHOW_MORE}}</span>
5555 <svg
5656 class="bx--icon-chevron--down"
5757 width="12" height="7"
@@ -110,7 +110,7 @@ export class CodeSnippet {
110110 */
111111 @Input ( ) feedbackTimeout = 2000 ;
112112
113- @HostBinding ( "class.bx--snippet--expand" ) @Input ( ) snippetExpanded = false ;
113+ @HostBinding ( "class.bx--snippet--expand" ) @Input ( ) expanded = false ;
114114
115115 @HostBinding ( "class.bx--snippet" ) snippetClass = true ;
116116 @HostBinding ( "class.bx--snippet--single" ) get snippetSingleClass ( ) {
@@ -153,7 +153,7 @@ export class CodeSnippet {
153153 }
154154
155155 toggleSnippetExpansion ( ) {
156- this . snippetExpanded = ! this . snippetExpanded ;
156+ this . expanded = ! this . expanded ;
157157 }
158158
159159 /**
You can’t perform that action at this time.
0 commit comments