Skip to content
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

Merged
merged 21 commits into from
Aug 22, 2017

Conversation

tcelestino
Copy link

@tcelestino tcelestino commented Aug 16, 2017


```html
<script src='async-define.js'></script>
<script src='events-amd.js' async></script>
Copy link
Contributor

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.

@tisvasconcelos

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
Copy link
Contributor

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 ?

@tisvasconcelos

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.
Copy link
Contributor

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

Tiago Celestino and Tiago Vasconcelos added 2 commits August 22, 2017 16:25
@AlineLee AlineLee merged commit c33ac62 into master Aug 22, 2017
@AlineLee AlineLee deleted the EM-106487 branch August 22, 2017 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants