Description: Filter method to respect
data-enhance=false parent elements during manual enhancement.
- This method does not accept any arguments.
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.
- If, and only if,
$.mobile.ignoreContentEnabledis set to true, this method will traverse the parent nodes for each DOM element in the jQuery object and where it finds a
data-enhance=falseparent the child will be removed from the set.
- The operation of traversing all parent elements can be expensive for even small jQuery object sets.