This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
initSelector / all widgets #6927
Closed
Description
jQM 1.4 API documentation should be fixed as the below doesn't work to set a new initSelector
for any widget. On 1.4, initSelector
is deprecated from options
, however, the code in API doesn't work.
$.mobile.widget-name.prototype.initSelector = ".selector";
The below works by removing .prototype
.
$.mobile.widget-name.initSelector = ".selector";