-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(circle-toggle): expert appearance (#332)
- Loading branch information
1 parent
20e357e
commit 3f7909f
Showing
12 changed files
with
232 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
5 changes: 5 additions & 0 deletions
5
...examples/circle-toggle/circle-toggle-group-expert/circle-toggle-group-expert-example.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<nx-circle-toggle-group class="nx-margin-bottom-m" appearance="expert"> | ||
<nx-circle-toggle *ngFor="let item of sampleValues" [value]="item.value" [icon]="item.icon" | ||
[hint]="item.hint" [label]="item.label" [checked]="item.selected"> | ||
</nx-circle-toggle> | ||
</nx-circle-toggle-group> |
16 changes: 16 additions & 0 deletions
16
...n/examples/circle-toggle/circle-toggle-group-expert/circle-toggle-group-expert-example.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
/** | ||
* @title Circle toggle group expert default example | ||
*/ | ||
@Component({ | ||
selector: 'circle-toggle-group-expert-example', | ||
templateUrl: './circle-toggle-group-expert-example.html', | ||
styleUrls: ['./circle-toggle-group-expert-example.css'], | ||
}) | ||
export class CircleToggleGroupExpertExampleComponent { | ||
sampleValues = [{value: 'A', icon: 'product-heart', hint: 'Hint A', label: 'Label A', selected: false}, | ||
{value: 'B', icon: 'product-car', hint: 'Hint B', label: 'Label B', selected: true}, | ||
{value: 'C', icon: 'product-plane', hint: 'Hint C', label: 'Label C', selected: false}, | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.