Home > Article > Web Front-end > jquery tools series expose learning_jquery
For example, when learning overlay, first give the html target code of the operation:
Method | Return value | Detailed description |
load() | API | triggerexpose(highlight)effect, This method can only be called successfully after expose(highlight) is initialized. |
close() | API | Close the expose(Highlight) effect. |
isLoaded() | boolean | Determine whether the current expose(highlighted) has been triggered. |
getMask() | jQuery | returns expose(highlight)jqueryObject. Non-expose(highlight) can be changed through the related methods of jquery The display effect of the area. |
getExposed() | jQuery | returns expose(highlight)'s jquery Object. |
getConf() | Object | Returns the configuration object of expose(highlighted). |
onBeforeLoad(fn) | API | Same as the onBeforeLoad attribute in the configuration file. |
onLoad(fn) | API | Same as the onLoad attribute in the configuration file. |
onBeforeClose(fn) | API | 同配置文件中onBeforeClose属性。 |
onClose(fn) | API | 同配置文件中onClose属性。 |