'deprecated'에 해당되는 글 1건

  1. 2014.07.15 jQuery Deprecated API

jQuery Deprecated API

Posted by 단순대왕 jQuery : 2014. 7. 15. 17:41

Category: Deprecated 1.3

jQuery.boxModel

States if the current page, in the user’s browser, is being rendered using the W3C CSS Box Model. This property was removed in jQuery 1.8. Please try to use feature detection instead.


jQuery.browser

Contains flags for the useragent, read from navigator.userAgent. This property was removed in jQuery 1.9 and is available only through the jQuery.migrate plugin. Please try to use feature detection instead.


Category: Deprecated 1.7

deferred.isRejected()

Determine whether a Deferred object has been rejected.


deferred.isResolved()

Determine whether a Deferred object has been resolved.


.die()

Remove event handlers previously attached using .live() from the elements.

=> use of .die() (and its complementary method, .live()) is not recommended. 

Instead, 

=> use .off() to remove event handlers bound with .on()


jQuery.sub()

Creates a new copy of jQuery whose properties and methods can be modified without affecting the original jQuery object.


.live()

Attach an event handler for all elements which match the current selector, now and in the future.

=> Use .on() to attach event handlers.

$( selector ).live( events, data, handler );        // jQuery 1.3+

$( document ).delegate( selector, events, data, handler );      // jQuery 1.4.3+

$( document ).on( events, selector, data, handler );              // jQuery 1.7+


.selector

A selector representing selector passed to jQuery(), if any, when creating the original set.


Category: Deprecated 1.8

.andSelf() 

Add the previous set of elements on the stack to the current set.


deferred.pipe()

Utility method to filter and/or chain Deferreds.


.error()

Bind an event handler to the “error” JavaScript event.


.load()

Bind an event handler to the “load” JavaScript event.


.size()

Return the number of elements in the jQuery object.


.toggle()

Bind two or more handlers to the matched elements, to be executed on alternate clicks.


.unload()

Bind an event handler to the “unload” JavaScript event.


Category: Deprecated 1.10

 .context

The DOM node context originally passed to jQuery(); if none was passed then context will likely be the document.


'jQuery' 카테고리의 다른 글

jQuery API - triggerHandler/ toggle/ proxy/ delegate/  (0) 2014.07.16
jQuery 확장 메소드 만들기  (0) 2014.07.16
jQuery 사용자 정의 함수 만들기  (0) 2014.07.15
jQuery 확장  (0) 2014.07.15
jQuery Utility API  (0) 2014.07.15
  
 «이전 1  다음»