Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="ui dropdown">
- <div class="text">
- {{ ??? }}
- </div>
- <i class="dropdown icon"></i>
- <div class="menu">
- <ng-content select="sm-dropdown-item"></ng-content>
- <ng-content select="template"></ng-content>
- </div>
- </div>
- <sm-dropdown [value]="color" (valueChange)="color=$event">
- <template ngFor let-itemColor [ngForOf]="colors">
- <sm-dropdown-item class="item" [value]="itemColor.color" [selected]="itemColor == color">{{ itemColor.name }}
- </sm-dropdown-item>
- </template>
- </sm-dropdown>
- <ng-content></ng-content>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement