Skip to content

Commit

Permalink
Updated examples & code generator
Browse files Browse the repository at this point in the history
  • Loading branch information
Zefling committed Mar 4, 2024
1 parent 7995f27 commit de58ecf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/app/app-examples.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -190,13 +190,19 @@ <h3 id="ex-19">19. dropdown list position above ({{ value19 }})</h3>
</select2>
<div class="noStyle">
<h3 id="ex-20">20. nostyle ({{ value20 }})</h3>

<select #select20>
<option selected>noStyle</option>
<option>borderless</option></select
><br />

<select2
[overlay]="overlay"
[data]="data20"
[value]="value20"
(update)="update('value20', $event)"
listPosition="above"
styleMode="noStyle"
[styleMode]="select20?.value || 'noStyle'"
id="selec2-20"
>
</select2>
Expand Down Expand Up @@ -357,7 +363,7 @@ <h3 id="ex-30">30. selected option when × is clicked ({{ value30 }})</h3>
</select2>

<h3 id="ex-31">31. change list ({{ value31 }})</h3>
<select #select (change)="changeData31(select.value)">
<select #select31 (change)="changeData31(select31.value)">
<option>english</option>
<option>french</option>
<option>japanese</option></select
Expand Down
1 change: 1 addition & 0 deletions src/app/app-gen.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ <h4>parameters</h4>
<option value="">default</option>
<option value="material">material</option>
<option value="noStyle">noStyle</option>
<option value="borderless">borderless</option>
</select>
</div>
<h4>Templates</h4>
Expand Down

0 comments on commit de58ecf

Please sign in to comment.