W3cubDocs

/Haxe JavaScript

JQuery

package js

@:initPackage Available on js

Constructor

@:selfCall new (html:String)

@:selfCall new (j:JQuery)

@:selfCall new (j:Window)

@:selfCall new (j:Element)

Variables

read only context:Element

read only length:Int

Methods

add (selector:String, ?context:JQuery):JQuery

add (value:JQuery):JQuery

add (value:Element):JQuery

add (value:Array<Element>):JQuery

addClass (className:String):JQuery

after (html:String):JQuery

after (value:JQuery):JQuery

after (value:Element):JQuery

andSelf ():JQuery

animate (properties:{}, ?duration:Int, ?callb:Void ‑> Void):JQuery

animate (properties:{}, ?duration:Int, ?easing:String, ?call:Void ‑> Void):JQuery

append (html:String):JQuery

append (value:JQuery):JQuery

append (value:Element):JQuery

appendTo (html:String):JQuery

appendTo (value:JQuery):JQuery

appendTo (value:Element):JQuery

attr (name:String):String

attr (name:String, value:String):JQuery

before (html:String):JQuery

before (value:JQuery):JQuery

before (value:Element):JQuery

bind (events:String, callb:JqEvent ‑> Void):JQuery

blur (?callb:JqEvent ‑> Void):JQuery

change (?callb:JqEvent ‑> Void):JQuery

children (?selector:String):JQuery

clearQueue (?queueName:String):JQuery

click (?callb:JqEvent ‑> Void):JQuery

click (callb:Void ‑> Void):JQuery

click (callb:JqEvent ‑> Void):JQuery

click (callb:Void ‑> Bool):JQuery

clone (?withDataAndEvents:Bool):JQuery

closest (selector:String, ?context:JQuery):JQuery

contents ():JQuery

css (prop:String):String

css (prop:String, value:String):JQuery

css (map:{}):JQuery

data (key:String, value:Dynamic):JQuery

data ():Dynamic

data (key:String):Dynamic

dblclick (?callb:JqEvent ‑> Void):JQuery

delay (duration:Int, ?queueName:String):JQuery

delegate (selector:String, events:String, callb:JqEvent ‑> Void):JQuery

dequeue (?queueName:String):JQuery

detach (?selector:String):JQuery

die (?events:String, ?callb:JqEvent ‑> Void):JQuery

each (f:Void ‑> Void):JQuery

each (f:Int ‑> Element ‑> Void):JQuery

empty ():JQuery

end ():JQuery

eq (index:Int):JQuery

error (?callb:JqEvent ‑> Void):JQuery

fadeIn (?duration:Int, ?call:Void ‑> Void):JQuery

fadeIn (?duration:Int, ?easing:String, ?call:Void ‑> Void):JQuery

fadeOut (?duration:Int, ?call:Void ‑> Void):JQuery

fadeOut (?duration:Int, ?easing:String, ?call:Void ‑> Void):JQuery

fadeTo (duration:Int, opacity:Float, ?call:Void ‑> Void):JQuery

fadeTo (duration:Int, opacity:Float, ?easing:String, ?call:Void ‑> Void):JQuery

fadeToggle (?duration:Int, ?call:Void ‑> Void):JQuery

fadeToggle (?duration:Int, ?easing:String, ?call:Void ‑> Void):JQuery

filter (selector:String):JQuery

find (selector:String):JQuery

first ():JQuery

focus (?callb:JqEvent ‑> Void):JQuery

focusin (?callb:JqEvent ‑> Void):JQuery

focusout (?callb:JqEvent ‑> Void):JQuery

get ():Array<Element>

get (index:Int):Element

has (selector:String):JQuery

hasClass (className:String):Bool

height ():Int

height (value:Int):JQuery

hide (?duration:Int, ?call:Void ‑> Void):JQuery

hide (?duration:Int, ?easing:String, ?call:Void ‑> Void):JQuery

hover (onIn:JqEvent ‑> Void, ?onOut:JqEvent ‑> Void):JQuery

hover (onInOut:JqEvent ‑> Void):JQuery

html ():String

html (html:String):JQuery

html (html:JQuery):JQuery

index (?selector:String):Int

innerHeight ():Int

innerHeight (value:Int):JQuery

innerWidth ():Int

innerWidth (value:Int):JQuery

insertAfter (html:String):JQuery

insertAfter (value:JQuery):JQuery

insertAfter (value:Element):JQuery

insertBefore (html:String):JQuery

insertBefore (value:JQuery):JQuery

insertBefore (value:Element):JQuery

is (selector:String):Bool

is (j:JQuery):Bool

@:has_untyped @:runtime inline iterator ():Iterator<JQuery>

keydown (?callb:JqEvent ‑> Void):JQuery

keydown (callb:JqEvent ‑> Bool):JQuery

keypress (?callb:JqEvent ‑> Void):JQuery

keypress (callb:JqEvent ‑> Bool):JQuery

keyup (?callb:JqEvent ‑> Void):JQuery

keyup (callb:JqEvent ‑> Bool):JQuery

last (?selector:String):JQuery

live (events:String, callb:JqEvent ‑> Void):JQuery

load (?callb:JqEvent ‑> Void):JQuery

load (url:String, ?data:{}, ?callb:String ‑> String ‑> Void):JQuery

load (url:String, ?data:{}, ?callb:String ‑> Void):JQuery

load (url:String, ?data:{}, ?callb:Void ‑> Void):JQuery

mousedown (?callb:JqEvent ‑> Void):JQuery

mouseenter (?callb:JqEvent ‑> Void):JQuery

mouseleave (?callb:JqEvent ‑> Void):JQuery

mousemove (?callb:JqEvent ‑> Void):JQuery

mouseout (?callb:JqEvent ‑> Void):JQuery

mouseover (?callb:JqEvent ‑> Void):JQuery

mouseup (?callb:JqEvent ‑> Void):JQuery

next (?selector:String):JQuery

nextAll (?selector:String):JQuery

nextUntil (?selector:String):JQuery

not (selector:String):JQuery

not (value:Element):JQuery

offset ():{top:Int, left:Int}

offset (value:{top:Int, left:Int}):JQuery

offsetParent ():JQuery

on (events:String, callb:JqEvent ‑> Void):JQuery

on (events:Dynamic<JqEvent ‑> Void>):JQuery

on (events:String, selector:String, callb:JqEvent ‑> Void):JQuery

one (events:String, callb:JqEvent ‑> Void):JQuery

outerHeight (?includeMargin:Bool):Int

outerWidth (?includeMargin:Bool):Int

parent (?selector:String):JQuery

parents (?selector:String):JQuery

parentsUntil (?selector:String):JQuery

position ():{top:Int, left:Int}

position (value:{top:Int, left:Int}):JQuery

prepend (html:String):JQuery

prepend (value:JQuery):JQuery

prepend (value:Element):JQuery

prependTo (html:String):JQuery

prependTo (value:JQuery):JQuery

prependTo (value:Element):JQuery

prev (?selector:String):JQuery

prevAll (?selector:String):JQuery

prevUntil (?selector:String):JQuery

prop (name:String):Dynamic

prop (name:String, value:Dynamic):JQuery

pushStack (elements:Array<Element>):JQuery

queue (?queueName:String, ?callb:Void ‑> Void ‑> Void):{length:Int}

ready (callb:JqEvent ‑> Void):JQuery

remove (?selector:String):JQuery

removeAttr (attr:String):JQuery

removeClass (?className:String):JQuery

removeData (?key:String):JQuery

replaceAll (selector:String):JQuery

replaceWith (html:String):JQuery

replaceWith (value:JQuery):JQuery

replaceWith (value:Element):JQuery

resize (?callb:JqEvent ‑> Void):JQuery

scroll (?callb:JqEvent ‑> Void):JQuery

scrollLeft ():Int

scrollLeft (value:Int):JQuery

scrollTop ():Int

scrollTop (value:Int):JQuery

select (?callb:JqEvent ‑> Void):JQuery

serialize ():String

serializeArray ():Array<{value:String, name:String}>

show (?duration:Int, ?call:Void ‑> Void):JQuery

show (?duration:Int, ?easing:String, ?call:Void ‑> Void):JQuery

siblings (?selector:String):JQuery

size ():Int

slice (start:Int, ?end:Int):JQuery

slideDown (?duration:Int, ?call:Void ‑> Void):JQuery

slideDown (?duration:Int, ?easing:String, ?call:Void ‑> Void):JQuery

slideToggle (?duration:Int, ?call:Void ‑> Void):JQuery

slideToggle (?duration:Int, ?easing:String, ?call:Void ‑> Void):JQuery

slideUp (?duration:Int, ?call:Void ‑> Void):JQuery

slideUp (?duration:Int, ?easing:String, ?call:Void ‑> Void):JQuery

stop (?clearQueue:Bool, ?jumpToEnd:Bool):JQuery

submit (?callb:JqEvent ‑> Void):JQuery

text ():String

text (text:String):JQuery

toArray ():Array<Element>

toggle (?duration:Int, ?call:Void ‑> Void):JQuery

toggle (?duration:Int, ?easing:String, ?call:Void ‑> Void):JQuery

toggleClass (className:String, ?addRemove:Bool):JQuery

trigger (events:String):JQuery

triggerHandler (events:String):JQuery

unbind (?events:String, ?callb:JqEvent ‑> Void):JQuery

undelegate (?selector:String, ?events:String, ?callb:JqEvent ‑> Void):JQuery

unload (?callb:JqEvent ‑> Void):JQuery

unwrap ():JQuery

val ():String

val (value:String):JQuery

width ():Int

width (value:Int):JQuery

wrap (html:String):JQuery

wrap (value:JQuery):JQuery

wrap (value:Element):JQuery

wrapAll (html:String):JQuery

wrapAll (value:JQuery):JQuery

wrapAll (value:Element):JQuery

wrapInner (html:String):JQuery

wrapInner (value:JQuery):JQuery

wrapInner (value:Element):JQuery

Static variables

static read only browser:{webkit:Bool, version:String, opera:Bool, msie:Bool, mozilla:Bool}

static read only cur:JQuery

Return the current JQuery element (in a callback), similar to $(this) in JS.

static read only fx:{off:Bool, interval:Int}

Static methods

static contains (parent:Element, child:Element):Bool

static globalEval (js:String):Void

static noConflict (?removeAll:Bool):Void

static parseJSON (json:String):Dynamic

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/JQuery.html