Skip to content
This repository was archived by the owner on Aug 7, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/oui-chips/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

| Attribute | Type | Binding | One-time Binding | Values | Default | Description
| ---- | ---- | ---- | ---- | ---- | ---- | ----
| `items` | object | < | no | n/a | n/a | items bound to component
| `items` | object | = | no | n/a | n/a | items bound to component
| `closable` | boolean | <? | yes | `true`, `false` | `false` | closable flag
| `stacked` | boolean | <? | yes | `true`, `false` | `false` | stacked flag
| `on-remove` | function | & | no | n/a | n/a | handler triggered when items are removed
2 changes: 1 addition & 1 deletion packages/oui-chips/src/chips.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default {
template,
controller,
bindings: {
items: "<",
items: "=",
closable: "<?",
stacked: "<?",
onRemove: "&"
Expand Down
2 changes: 1 addition & 1 deletion packages/oui-chips/src/chips.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<span class="oui-chip"
ng-repeat="item in $ctrl.items"
ng-repeat="item in $ctrl.items track by $index"
ng-class="::{
'oui-chip_closable': !!$ctrl.closable,
'oui-chip_full-width': !!$ctrl.stacked
Expand Down