Yahoo! UI Library

event  3.0.0b1

Yahoo! UI Library > event > Event.Target
Search:
 
Filters

Class Event.Target

EventTarget is designed to be used with Y.augment to wrap EventCustom in an interface that allows events to be listened to and fired by name. This makes it possible for implementing code to subscribe to an event that either has not been created yet, or will not be created at all.

Methods

_getType

void _getType ( )
If the instance has a prefix attribute and the event type is not prefixed, the instance prefix is applied to the supplied type.
Returns: void

_parseType

private void _parseType ( )
lt Returns an array with the detach key (if provided), and the prefixed event name from _getType Y.on('detachcategory, menu:click', fn)
Returns: void


Copyright © 2009 Yahoo! Inc. All rights reserved.