Filter method to respect
data-enhance=false
parent elements during manual enhancement.
For users that wish to respect data-enhance=false
parent elements during manual enhancement or custom plugin authoring jQuery Mobile provides the $.fn.jqmEnhanceable
filter method.
- Settings:
- If, and only if,
$.mobile.ignoreContentEnabled
is set to true, this method will traverse the parent nodes for each DOM element in the jQuery object and where it finds adata-enhance=false
parent the child will be removed from the set. - Warning:
- The operation of traversing all parent elements can be expensive for even small jQuery object sets.
This method does not accept any arguments.
Please login to continue.