Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

FEATURE: Addition of a 'tagChange' event #26

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
3 participants

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)
})

FEATURE: Addition of a 'tagChange' event which is fired after tags ha…
…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

Owner

alexgorbatchev commented Feb 23, 2012

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

:) thanks.

@alexgorbatchev alexgorbatchev referenced this pull request Feb 23, 2012

Closed

"Tag removed" event #25

Should this one be closed similar to Issue #25?

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