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

FEATURE: Addition of a 'tagChange' event #26

Closed
wants to merge 1 commit into from
Closed

FEATURE: Addition of a 'tagChange' event #26

wants to merge 1 commit into from

Conversation

wilmoore
Copy link

Event is fired after tags have been added and after tags have been removed.

  • EVENT_TAG_CHANGE addition
  • trigger EVENT_TAG_CHANGE from 'addTags' and 'removeTag' methods
  • addition of "suppressEvents' parameter in 'addTags' and 'removeTag' methods

Example:

$('textarea').textext({...}).bind('tagChange', function(e, context) {
console.log(context.is, context.result)
console.log(context.is, context.diff)
})

…ve been added and after tags have been removed.

-   EVENT_TAG_CHANGE addition
-   trigger EVENT_TAG_CHANGE from 'addTags' and 'removeTag' methods
-   addition of "suppressEvents' parameter in 'addTags' and 'removeTag' methods

Example:

  $('textarea').textext({...}).bind('tagChange', function(e, context) {
    console.log(context.is, context.result)
    console.log(context.is, context.diff)
  })
@ghost ghost assigned alexgorbatchev Feb 23, 2012
@alexgorbatchev
Copy link
Owner

Thank you, I'll have a look at it asap.

@wilmoore
Copy link
Author

:) thanks.

@wilmoore
Copy link
Author

Should this one be closed similar to Issue #25?

@seraphinmiranda
Copy link

I need add and remove event....please push the changes.
Thanks,

@wilmoore wilmoore closed this Aug 25, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants