A class that defines a single Area (e.g., a single Popup).
List of methods:
-
DiviAreaItem.theId()
-
DiviAreaItem.theKey()
-
DiviAreaItem.hasId(id)
-
DiviAreaItem.theType()
-
DiviAreaItem.isType(expected)
-
DiviAreaItem.get(selector)
-
DiviAreaItem.getWrap()
-
DiviAreaItem.attach()
-
DiviAreaItem.detach()
-
DiviAreaItem.findHook()
-
DiviAreaItem.setVisible(state, onDone)
-
DiviAreaItem.setPosition()
-
DiviAreaItem.setTriggerEvent(event)
-
DiviAreaItem.isPrepared(isReady)
-
DiviAreaItem.isVisible()
-
DiviAreaItem.inDom()
-
DiviAreaItem.getSize()
-
DiviAreaItem.getData(key)
-
DiviAreaItem.setData(key, value)
-
DiviAreaItem.doAction(hook, ...params)
-
DiviAreaItem.applyFilters(hook, value, ...params)
-
DiviAreaItem.addFilter(hook, callback, priority, context)
-
DiviAreaItem.addAction(hook, callback, priority, context)
-
DiviAreaItem.removeFilter(hook, callback)
-
DiviAreaItem.removeAction(hook, callback)
-
DiviAreaItem.addActionOnce(hook, callback, priority, context)
-
DiviAreaItem.hasClass()
-
DiviAreaItem.addClass()
-
DiviAreaItem.removeClass()
-
DiviAreaItem.attr()
-
DiviAreaItem.removeAttr()
-
DiviAreaItem.find()
-
DiviAreaItem.css()
Notes
All DiviAreaItem
objects are created from the JS API function DiviArea.register()
, which happens during the ready
-action . However, you can also use DiviArea.register()
at a later point to create custom Divi Areas.