-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create validations based on maxlength attribute and create a new callback #6
Conversation
ace9c94
to
530211d
Compare
|
||
```html | ||
<script src='async-define.js'></script> | ||
<script src='events-amd.js' async></script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Podia comentar que essa é uma dependência do doc-amd.
README.md
Outdated
|
||
- `added(addedTags)`: called when one or more tags are added to the list of tags; receives an array with the new tags as argument | ||
- `removed(removedTag)`: called when a tag is removed from the list; receives the removed tag as argument | ||
- `error(tagInput)`: called when the user tries to add a tag that already exists in the list; receives the input as argument |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
O callback error
não é muito genérico? Sendo que ele só trata o caso de tags que já existem? Podia renomear para: errorAlreadyExists
?
README.md
Outdated
npm install elo7-tag-amd | ||
``` | ||
|
||
In the download package, there will be a JavaScript file (`tag.js`) and a CSS file (`tag.css`). The JavaScript file is not minified, but we strongly recommend minifying it before production usage. The CSS file is optional; you may use it as a reference for your own styling. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It has a minified version on the dist folder, how about to change this comment and generate a minified version (js and css)?
👍 @tisvasconcelos
@luiz @tcelestino