.jqmEnhanceable()

jqmEnhanceable()

.jqmEnhanceable()Returns: Object

Description: 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.

© The jQuery Foundation and other contributors
Licensed under the MIT License.
https://api.jquerymobile.com/jqmEnhanceable

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部