.jqmEnhanceable()

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 a data-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.
doc_jQuery
2016-03-28 15:04:47
Comments
Leave a Comment

Please login to continue.