readyX

码农软件 · 软件分类 · 其他jQuery插件 · 2020-01-11 18:26:32

软件介绍

readyX extends the jQuery(document).ready event to permit greater control of the order in which the ready event callbacks get executed. readyX provides three queues instead of jQuery's one.
The queues are:

  • first : single function that runs as the very first callback
  • last : single function that runs as the very last callback
  • list : array of functions that are run sequentially between the first and last callbacks. callbacks in jQuery.readyList are appended to the end of the array for executing.

The sequence of actions that readyX takes are:

  1. The first call to readyX prepends a readyX callback to jQuery.readyList. Basically, the callback cuts to the beginning of the line.
  2. readyX has an independent list that is controlled by instructions provided when readyX is called. The available instructions are:
    • commands for first and last queues:
      • first : assigns a callback as the very first item to run. this callback is NOT part of the list controlled the commands below
      • last : assigns a callback as the very last item to run. this callback is NOT part of the list controlled the commands below
    • commands for list queue:
      • insert : inserts a callback at a specified position. if a callback is already present at that position, it is pushed back by one.
      • replace : replaces a callback with another at a specified position
      • delete : deletes a callback at a specified position
      • prepend : adds callback to the beginning of the readyX list
      • append : default action. adds callback to the end of the readyX list
  3. once the readyX callback is called by jQuery's ready handler, it fires the special callback first.
  4. items in the readyX list are executed.
  5. the special last callback is binded to the document and will run after jQuery readyList is complete.
  6. readyX's list and the special first/last are reset
  7. jQuery.ready runs through jQuery readyList.
  8. any bound ready event handlers are executed, including the last callback.

本文地址:https://codercto.com/soft/d/23166.html

Redis开发与运维

Redis开发与运维

付磊、张益军 / 机械工业出版社 / 2017-3-1 / 89.00

本书全面讲解Redis基本功能及其应用,并结合线上开发与运维监控中的实际使用案例,深入分析并总结了实际开发运维中遇到的“陷阱”,以及背后的原因, 包含大规模集群开发与管理的场景、应用案例与开发技巧,为高效开发运维提供了大量实际经验和建议。本书不要求读者有任何Redis使用经验,对入门与进阶DevOps的开发者提供有价值的帮助。主要内容包括:Redis的安装配置、API、各种高效功能、客户端、持久化......一起来看看 《Redis开发与运维》 这本书的介绍吧!

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具