Activator Widget


Example

Original Value

Widget setup

Notes:

DOM Structure and initalization

The widget requires a well-structured block of elements. Various parts of the block will be discovered by the widget. Here's an example of some existing markup:



The editor requires three DOM elements to work correctly:

Custom events

"act": This event is fired when the element with the yui-activator-act CSS class is clicked.

Example HTML

Example Script