Skip to content
This repository was archived by the owner on Jan 22, 2018. It is now read-only.

Commit 485df30

Browse files
author
Kamil Kisiela
committed
docs(chips): add swat
1 parent e61a24a commit 485df30

File tree

1 file changed

+23
-16
lines changed

1 file changed

+23
-16
lines changed

docs/types/chips.md

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,43 @@
1-
# chips
2-
## md-chips
1+
chips
2+
=====
3+
4+
md-chips
5+
--------
36

47
### Example
58

69
```javascript
710
{
8-
"type": "chips",
9-
"key": "tags",
10-
"templateOptions": {
11-
"theme": "custom",
12-
"placeholder": "+tags",
13-
"secondaryPlaceholder": "Add tag",
14-
"deleteButtonLabel": "Remove",
15-
"deleteHint": "Remove tag"
11+
type: "chips",
12+
key: "tags",
13+
templateOptions: {
14+
theme: "custom",
15+
placeholder: "+tags",
16+
secondaryPlaceholder: "Add tag",
17+
deleteButtonLabel: "Remove",
18+
deleteHint: "Remove tag"
1619
}
1720
}
1821
```
1922

2023
### Configuration
2124

22-
#### templateOptions.label _: string_
25+
#### templateOptions.label *: string*
26+
27+
#### templateOptions.theme *: string*
2328

24-
#### templateOptions.theme _: string_
29+
#### templateOptions.placeholder *: string*
2530

26-
#### templateOptions.placeholder _: string_
2731
Placeholder text that will be forwarded to the input.
2832

29-
#### templateOptions.secondaryPlaceholder _: string_
33+
#### templateOptions.secondaryPlaceholder *: string*
34+
3035
Placeholder text that will be forwarded to the input, displayed when there is at least on item in the list.
3136

32-
#### templateOptions.deleteButtonLabel _: string_
37+
#### templateOptions.deleteButtonLabel *: string*
38+
3339
A label for the delete button. Also hidden and read by screen readers.
3440

35-
#### templateOptions.deleteHint _: string_
41+
#### templateOptions.deleteHint *: string*
42+
3643
A string read by screen readers instructing users that pressing the delete key will remove the chip.

0 commit comments

Comments
 (0)