- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xowiki::YUIContextMenu
::xowiki::YUIContextMenu create ... \
[ -trigger (default "document") ] \
[ -triggertype (default "reference") ]
Defined in
Class Relations
::xo::tdom::Class create ::xowiki::YUIContextMenu \ -superclass ::xowiki::YUIMenuMethods (to be applied on instances)
render (scripted, public)
<instance of xowiki::YUIContextMenu> renderhttp://developer.yahoo.com/yui/menu/#contextmenu
- Testcases:
- No testcase defined.
append :CSSclass " yuimenu" html::div [:get_attributes id {CSSclass class}] { html::div -class "bd" { html::ul -class yuicm { foreach li [:children] {$li render} } } html::script -nonce [security::csp::nonce] -type "text/javascript" { html::t "var [:js_name] = new YAHOO.widget.ContextMenu('[:id]', { trigger: '${:trigger}' } );" html::t "[:js_name].render(document.body);" } }trigger (setter)
triggertype (setter)
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables