Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
"degradeInputs" plugin doesn't trigger on "create" events #2654
Here's what I did: inside a page previously created I dinamically inserted the HTML needed to render a slider, then I triggered the "create" event on the "content" div to execute the plugins (as suggested in the documentation). The slider got created but the input[type="range"] didn't degraded to type="number".
I noticed that the "degradeInputs" plugin is bound to the "enhance" event, I think this was renamed to "create" some commit ago. Isn't this a bug?
I tried renaming "enhance" to "create" but it seems that the "degradeInputs" plugin wants to be executed only on data-role="page" elements, some more refactor is needed.