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

Commit 01e15ac

Browse files
author
Kamil Kisiela
committed
docs(chips): onRemove callback
1 parent 15d9036 commit 01e15ac

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/types/chips.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ md-chips
1818
deleteHint: "Remove tag",
1919
onAdd: function() {
2020
console.log('new chip');
21+
},
22+
onRemove: function() {
23+
console.log('chip removed');
2124
}
2225
}
2326
}
@@ -48,3 +51,7 @@ A string read by screen readers instructing users that pressing the delete key w
4851
#### templateOptions.onAdd *: function*
4952

5053
An expression which will be called when a chip has been added.
54+
55+
#### templateOptions.onRemove *: function*
56+
57+
An expression which will be called when a chip has been removed.

0 commit comments

Comments
 (0)