Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Atom JQ code snippets are supplemented


May 24, 2021 Atom


Table of contents


JQ code snippets

Off-topic

A good code snippet plug-in can improve the efficiency of our code writing. This is an indisputable fact; today, I would recommend this one, which is a plug-in that can quickly write JQ.

Jquery-snippets

Download address: https://atom.io/packages/jquery-snippets

Plug-in author: james2doyle

The easiest way to install is to go to the Settings Center and search for Jquery-snippets ->install

It doesn't seem to take effect immediately, and the restart of the atom program takes effect

snippet event

Note: Like slideDown, click these are also covered. . . but the author wood has been listed.

  • $
  • $ajaxSend
  • $ajaxSetup
  • $ajaxStart
  • $ajaxStop
  • $ajaxSuccess
  • $boxModel
  • $browser-version
  • $browser
  • $each
  • $extend
  • $get
  • $getScript
  • $holdReady
  • $inArray
  • $isEmptyObject
  • $isNumeric
  • $isPlainObject
  • $isWindow
  • $map
  • $merge
  • $noop
  • $now
  • $parseJSON
  • $parseXML
  • $post
  • $sub
  • $trim
  • $type
  • $unique
  • $when
  • add
  • addback
  • addClass
  • after
  • Ajax
  • ajaxComplete
  • ajaxError
  • andSelf
  • animate-(with-callback)
  • animate
  • append
  • appendTo
  • attr-multiple
  • attr
  • before
  • bind
  • blur
  • change
  • children
  • clearqueue
  • Click
  • clone
  • closest
  • contains
  • contents
  • css-multiple
  • Css
  • data
  • dblclick
  • delay
  • delegate
  • dequeue
  • die
  • document-ready-1
  • document-ready-2
  • document-ready
  • each
  • end
  • eq
  • error
  • fadeIn
  • fadeOut
  • fadeTo
  • fadeToggle
  • filter-function
  • filter
  • find
  • finish
  • first
  • focus
  • focusin
  • focusout
  • get
  • getJSON
  • has
  • hasClass
  • height
  • hide
  • hover
  • Html
  • index
  • innerHeight
  • innerWidth
  • insertAfter
  • insertBefore
  • is
  • keydown
  • keypress
  • keyup
  • last
  • live
  • load
  • loadAHAH
  • map
  • mousedown
  • mouseenter
  • mouseleave
  • mousemove
  • mouseout
  • mouseover
  • mouseup
  • next
  • nextAll
  • nextUntil
  • not
  • off
  • offset (function)
  • offset
  • offsetParent
  • on
  • one
  • outerHeight
  • outerWidth
  • parent
  • parents
  • parentsUntil
  • prepend
  • prependTo
  • prev
  • prevAll
  • prevUntil
  • promise
  • prop
  • prop(map)
  • reject
  • remove
  • removeAttr
  • removeClass
  • removeData
  • removeprop
  • replaceAll
  • replaceWith
  • reset
  • resize
  • resolve
  • resolveWith
  • scroll
  • scrollLeft
  • scrollTop
  • select
  • serialize
  • serializeArray
  • show
  • siblings
  • size
  • slice
  • slideDown
  • slideToggle
  • slideUp
  • stop
  • submit
  • text
  • then
  • this
  • toArray
  • toggle-showHide
  • toggleClass
  • toggleEvent
  • trigger
  • triggerHandler
  • unbind
  • undelegate
  • unwrap
  • val
  • width
  • wrap
  • wrapAll
  • wrapInner

Easy demo

Enter snippet shorts, tab keys, or Ente r trigger complements, and I'll demonstrate a few, other little partners tossing themselves.

Code snippets contain simple placeholder interpretation characters, which are templates, and even manuals are saved.

The default editing position appears inside the single quote of the first argument, saving the effort of selecting delete, which is true.

Basically covers all methods and events of JQ.

ajax : ajax request

Atom JQ code snippets are supplemented Atom JQ code snippets are supplemented

SlideDown: Pull-down animation

Atom JQ code snippets are supplemented Atom JQ code snippets are supplemented

ToggleClass: Switching takes effect to add classes

Atom JQ code snippets are supplemented Atom JQ code snippets are supplemented