ViewTargetActionSupport#$()

$ (selector) JQuerypublic

Defined in packages/ember-views/lib/mixins/view_support.js:96

Returns a jQuery object for this view's element. If you pass in a selector string, this method will return a jQuery object, using the current element as its buffer.

For example, calling view.$('li') will return a jQuery object containing all of the li elements inside the DOM element of this view.

Parameters:

selector [String]
a jQuery-compatible selector string

Returns:

JQuery
the jQuery object for the DOM node
doc_EmberJs
2016-11-30 16:54:00
Comments
Leave a Comment

Please login to continue.