- Publicity: Public Only All
yui-procs.tcl
yui procs: provide some support for yui library
This file defines the following Objects and Classes: ::YUI::loader, ::YUI::AnchorField, ::xo::Table::YUIDataTableRenderer::AnchorField
- Location:
- packages/xowiki/tcl/yui-procs.tcl
- Created:
- 2014-04-14
- Authors:
- Michael Aram
- Gustaf Neumann
- CVS Identification:
$Id: yui-procs.tcl,v 1.16.2.6 2022/04/24 07:33:47 gustafn Exp $
Procedures in this file
- Class ::YUI::AnchorField (public)
- Class ::xo::Table::YUIDataTableRenderer::AnchorField (public)
- Object ::YUI::loader (public)
- YUI::loader proc require (public)
- xowiki::YUIContextMenu instproc render (public)
- xowiki::YUIMenu instproc render (public)
- xowiki::YUIMenuBar instproc render (public)
- xowiki::YUIMenuItem instproc render (public)
Detailed information
Class ::YUI::AnchorField (public)
::xotcl::Class ::YUI::AnchorField
In addition to the standard TableWidget's AnchorField, we also allow the attributes
- onclick
- target
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Class ::xo::Table::YUIDataTableRenderer::AnchorField (public)
::xotcl::Class ::xo::Table::YUIDataTableRenderer::AnchorField
In addition to the standard TableWidget's AnchorField, we also allow the attributes
- onclick
- target
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Object ::YUI::loader (public)
Object ::YUI::loader
The YUI Library comes with a "Loader" module, that resolves YUI-module dependencies. Also, it combines numerous files into one single file to increase page loading performance. This works only for the "hosted" YUI library. This Loader module should basically do the same (in future). For two simple calls like e.g. "::YUI::loader require menu" and "::YUI::loader require datatable" it should take care of selecting all the files needed and assemble them into one single resource, that may be delivered. Note that this is not implemented yet.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
YUI::loader proc require (public)
YUI::loader require [ -module module ] [ -version version ]
This is the key function of the loader, that will be used by other packages.
- Switches:
- -module
(optional)- The YUI Module to be loaded
- -version
(defaults to"2.7.0b"
) (optional)- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
xowiki::YUIContextMenu instproc render (public)
<instance of xowiki::YUIContextMenu> render
http://developer.yahoo.com/yui/menu/#contextmenu
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
xowiki::YUIMenu instproc render (public)
<instance of xowiki::YUIMenu> render
http://developer.yahoo.com/yui/menu/
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
xowiki::YUIMenuBar instproc render (public)
<instance of xowiki::YUIMenuBar> render
http://developer.yahoo.com/yui/menu/#menubar MenuBar looks best without a header and with one MenuItemList only
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
xowiki::YUIMenuItem instproc render (public)
<instance of xowiki::YUIMenuItem> render
doku
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.