-
Notifications
You must be signed in to change notification settings - Fork 2.4k
feature request: trigger('eventcreate') to set event bindings to a widget without enhancing the markup #4935
Comments
I'm trying this with a few widgets now. Not that complicated. I'm mostly setting:
|
@frequent - the ability to pre-decorate the markup and just bind events is something we really want to tackle. Would you be interested in working on this and coordinating with @johnbender and @scottjehl as you go? I'd like to tackle this for 1.3 or 1.4 at the latest. |
@toddparker, @johnbender, @scottjehl - ok. Should be enough time for me to try and get Github set up properly... ;-). |
@toddparker, @johnbender, @scottjehl Ok. I have started to play around with this. I'm using:
as attribute to be put on a widget to only add JQM event bindings. Easy example (no events...) would be a controlgroup, where I'm just changing (still using JQM 1.2a):
in I have also done Where should I put stuff I'm doing, so someone can take a look if interested? Create a branch for this? |
As discussed during today's meeting we are going to provide a "do not enhance" option, not an event. We'll make a new ticket for this. |
Ok. I'm also doing this via option, not event... :-) |
I have started to do I site where I'm creating enhanced JQM markup server-side to prevent the page from stalling when enhancing elements from a page or content pull.
This works except for the element bindings I'm missing on widgets like controlgroups.
So why don't have a
trigger('eventcreate
)` method in widgets that have allows to initialize a widget without enhancing the markup = only set element bindings?The text was updated successfully, but these errors were encountered: