MODULES Uize.Widget.mWeb
1. Introduction
The Uize.Widget.mWeb
module is a mixin module that provides an implementation for Uize.Web
-related features that can be mixed into a Uize.Widget
subclass.
DEVELOPERS: Ben Ilegbodu
1.1. Examples
There are no dedicated showcase example pages for the Uize.Widget.mWeb
module.
SEARCH FOR EXAMPLES
Use the link below to search for example pages on the UIZE Web site that reference the Uize.Widget.mWeb
module...
SEARCH
1.2. Implementation Info
The Uize.Widget.mWeb
module defines the Uize.Widget.mWeb
object under the Uize.Widget
namespace.
1.2.1. Features Introduced in This Module
The features listed in this section have been introduced in this module.
STATIC PROPERTIES
Uize.Widget.mWeb.moduleName
| Uize.Widget.mWeb.pathToResources
1.2.2. Features Overridden in This Module
No features have been overridden in this module.
1.2.3. Features Inherited From Other Modules
This module has no inherited features.
1.2.4. Modules Directly Under This Namespace
There are no modules directly under this namespace.
1.2.5. Unit Tests
There is no dedicated unit tests module for the Uize.Widget.mWeb
module.
2. Instance Methods
2.1. web
Returns a Uize.Web
object reference, allowing for syntax-friendly manipulation and/or interrogation of the specified DOM node(s) of the widget.
SYNTAX
webOBJ = widgetOBJ.web(nodeSTRorBLOB);
EXAMPLE
var knob = this.web('knob');
Returns a Uize.Web
object that contains the "knob" DOM node of the widget.
EXAMPLE
var rootNode = this.web();
Returns a Uize.Web
object that contains the root node of the widget.
VARIATION
webOBJ = widgetOBJ.web(childWidgetOBJ);
EXAMPLE
var childRootNode = mySlider.web(this.children.foo);
Returns a Uize.Web
object that contains the root node node of the foo
child widget.
NOTES
The nodeSTRorBLOB parameter can be a string specifying the name of the DOM node, or an object reference to the DOM node. |
|
When the nodeSTRorBLOB parameter has a value of null , then an empty Uize.Web object is returned. |
|
When the nodeSTRorBLOB parameter has a value of undefined or is not specified, then the root node of the widget is contained by the returned Uize.Web object. This has the same effect as specifying the empty string. (i.e. web() is equivalent to web('') ) |
|
See related getNode instance method of Uize.Widget |
|
See also Uize.Web object |