We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2748ce0 + 8419817 commit e0b409eCopy full SHA for e0b409e
README.md
@@ -123,6 +123,18 @@ Each column in a row can has their own type. Widget supports:
123
- `textarea`
124
- For more detail look at [Html helper class](http://www.yiiframework.com/doc-2.0/yii-helpers-html.html)
125
126
+### JavaScript events
127
+This widget has following events:
128
+ - `init`: triggered after initialization
129
+ - `addNewRow`: triggered after new row insertion
130
+ - `removeRow`: triggered after row removal
131
+Example:
132
+```js
133
+jQuery('#multiple-input').on('addNewRow', function() {
134
+ //some code
135
+});
136
+```
137
+
138
##License
139
140
**yii2-multiple-input** is released under the BSD 3-Clause License. See the bundled [LICENSE.md](./LICENSE.md) for details.
0 commit comments