Skip to main content

Search and Top Navigation

#8908 closed feature (notabug)

Opened December 13, 2012 03:30PM UTC

Closed December 13, 2012 03:33PM UTC

Last modified December 13, 2012 04:57PM UTC

API to detect ui component bound to a given element

Reported by: abacada Owned by:
Priority: minor Milestone: 1.10.0
Component: ui.core Version: 1.9.2
Keywords: Cc:
Blocked by: Blocking:
Description

Is there any documented or secure way to detect if a certain UI component is being bound to a given input?

I could not find it.

One of the use cases is a validation whose structure need to be appended in the same level as the original input but it breaks since jqueryUI creates a different structure as a wrapper for that input.

Attachments (0)
Change History (3)

Changed December 13, 2012 03:33PM UTC by scottgonzalez comment:1

resolution: → notabug
status: newclosed

element.is( ":data(namespace-widget)" ), e.g., element.is( ":data(ui-resizable" )

In the future, please ask questions on the forum, not the bug tracker.

Changed December 13, 2012 04:50PM UTC by abacada comment:2

It should be officially documented and not be available by looking at the source or consulting any forum.

If this can't be officially documented this ticket should be considered a feature request for "API to detect ui component bound to a given element".

Changed December 13, 2012 04:57PM UTC by scottgonzalez comment:3

Feel free to file a issue at http://github.com/jquery/api.jqueryui.com/issues with a suggestion about where to document this.