|
131 | 131 | ], |
132 | 132 | "events": [ |
133 | 133 | { |
134 | | - "event": "input", |
135 | | - "description": "Emitted when the tags changes. Updates the v-model", |
| 134 | + "event": "blur", |
| 135 | + "description": "Emitted when component loses focus", |
136 | 136 | "args": [ |
137 | 137 | { |
138 | | - "arg": "value", |
139 | | - "type": "Array", |
140 | | - "description": "Array of current tags" |
| 138 | + "arg": "event", |
| 139 | + "type": "FocusEvent", |
| 140 | + "description": "Native blur event (before any formatting)" |
141 | 141 | } |
142 | 142 | ] |
143 | 143 | }, |
144 | 144 | { |
145 | | - "event": "tag-state", |
146 | | - "description": "Emitted when tags in the user input are parsed", |
| 145 | + "event": "focus", |
| 146 | + "description": "Emitted when component gains focus", |
147 | 147 | "args": [ |
148 | 148 | { |
149 | | - "arg": "validTags", |
150 | | - "type": "Array", |
151 | | - "description": "Array of new tag(s) added (or that will be added). Will be zero length if no tags added" |
152 | | - }, |
153 | | - { |
154 | | - "arg": "invalidTags", |
155 | | - "type": "Array", |
156 | | - "description": "Array of tag(s) that can not added because they did not pass validation. Will be zero length if no invalid tags" |
157 | | - }, |
158 | | - { |
159 | | - "arg": "duplicateTags", |
160 | | - "type": "Array", |
161 | | - "description": "Array of tag(s) that can not added because they would be a duplicate tag. Will be zero length if no duplicate tags" |
| 149 | + "arg": "event", |
| 150 | + "type": "FocusEvent", |
| 151 | + "description": "Native focus event (before any formatting)" |
162 | 152 | } |
163 | 153 | ] |
164 | 154 | }, |
165 | 155 | { |
166 | | - "event": "focus", |
167 | | - "description": "Emitted when component gains focus", |
| 156 | + "event": "focusin", |
| 157 | + "description": "Emitted when internal elements of component gain focus.", |
168 | 158 | "args": [ |
169 | 159 | { |
170 | 160 | "arg": "event", |
171 | 161 | "type": "FocusEvent", |
172 | | - "description": "Native focus event (before any formatting)" |
| 162 | + "description": "Native focusin event (before any formatting)" |
173 | 163 | } |
174 | 164 | ] |
175 | 165 | }, |
176 | 166 | { |
177 | | - "event": "blur", |
178 | | - "description": "Emitted when component loses focus", |
| 167 | + "event": "focusout", |
| 168 | + "description": "Emitted when internal elements of component lose focus.", |
179 | 169 | "args": [ |
180 | 170 | { |
181 | 171 | "arg": "event", |
182 | 172 | "type": "FocusEvent", |
183 | | - "description": "Native blur event (before any formatting)" |
| 173 | + "description": "Native focusout event (before any formatting)" |
184 | 174 | } |
185 | 175 | ] |
186 | 176 | }, |
187 | 177 | { |
188 | | - "event": "focusin", |
189 | | - "description": "Emitted when internal elements of component gain focus.", |
| 178 | + "event": "input", |
| 179 | + "description": "Emitted when the tags changes. Updates the v-model", |
190 | 180 | "args": [ |
191 | 181 | { |
192 | | - "arg": "event", |
193 | | - "type": "FocusEvent", |
194 | | - "description": "Native focusin event (before any formatting)" |
| 182 | + "arg": "value", |
| 183 | + "type": "Array", |
| 184 | + "description": "Array of current tags" |
195 | 185 | } |
196 | 186 | ] |
197 | 187 | }, |
198 | 188 | { |
199 | | - "event": "focusout", |
200 | | - "description": "Emitted when internal elements of component lose focus.", |
| 189 | + "event": "tag-state", |
| 190 | + "description": "Emitted when tags in the user input are parsed", |
201 | 191 | "args": [ |
202 | 192 | { |
203 | | - "arg": "event", |
204 | | - "type": "FocusEvent", |
205 | | - "description": "Native focusout event (before any formatting)" |
| 193 | + "arg": "validTags", |
| 194 | + "type": "Array", |
| 195 | + "description": "Array of new tag(s) added (or that will be added). Will be zero length if no tags added" |
| 196 | + }, |
| 197 | + { |
| 198 | + "arg": "invalidTags", |
| 199 | + "type": "Array", |
| 200 | + "description": "Array of tag(s) that can not added because they did not pass validation. Will be zero length if no invalid tags" |
| 201 | + }, |
| 202 | + { |
| 203 | + "arg": "duplicateTags", |
| 204 | + "type": "Array", |
| 205 | + "description": "Array of tag(s) that can not added because they would be a duplicate tag. Will be zero length if no duplicate tags" |
206 | 206 | } |
207 | 207 | ] |
208 | 208 | } |
|
0 commit comments