File tree Expand file tree Collapse file tree 2 files changed +11
-14
lines changed
Expand file tree Collapse file tree 2 files changed +11
-14
lines changed Original file line number Diff line number Diff line change 7171 clearInterval ( experimentalToggleInterval ) ;
7272 frame . contentDocument . body . insertAdjacentHTML (
7373 "beforeend" ,
74- `<div style="position: fixed; right: 15px; bottom: 15px">
75- <button
76- class="toggle-btn experimental-selected"
77- onclick="setExperimental(event)">
78- Standard
79- </button>
80- <button
81- class="toggle-btn"
82- onclick="setExperimental(event)">
83- Experimental
84- </button>
85- </div>
86- ` ) ;
74+ '<div style="position: fixed; right: 15px; bottom: 15px">' +
75+ '<button class="toggle-btn experimental-selected" onclick="setExperimental(event)">' +
76+ 'Standard' +
77+ '</button>' +
78+ '<button class="toggle-btn" onclick="setExperimental(event)">' +
79+ 'Experimental' +
80+ '</button>' +
81+ '</div>'
82+ ) ;
8783 frame . contentWindow . setExperimental = setExperimental ;
8884
8985 var classList = frame . contentDocument . body . classList ;
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ import { DropdownService } from "./dropdown.service";
4444 [attr.aria-expanded]="!menuIsClosed"
4545 [attr.aria-disabled]="disabled"
4646 (blur)="onBlur()"
47+ (click)="toggleMenu()"
4748 [disabled]="disabled">
4849 <span (click)="clearSelected()" *ngIf="type === 'multi' && view.getSelected() && view.getSelected().length"
4950 class="bx--list-box__selection bx--list-box__selection--multi">
@@ -53,7 +54,7 @@ import { DropdownService } from "./dropdown.service";
5354 <path d="M6.32 5L10 8.68 8.68 10 5 6.32 1.32 10 0 8.68 3.68 5 0 1.32 1.32 0 5 3.68 8.68 0 10 1.32 6.32 5z"></path>
5455 </svg>
5556 </span>
56- <div class="click-container" (click)="toggleMenu()" style="width: 100%; text-align: left;">
57+ <div class="click-container" style="width: 100%; text-align: left;">
5758 <span class="bx--list-box__label">
5859 {{getDisplayValue() | async}}
5960 </span>
You can’t perform that action at this time.
0 commit comments