Nodom"
From Documentation
Line 4: | Line 4: | ||
= Employment/Purpose = | = Employment/Purpose = | ||
− | <tt>Nodom</tt> is a ZK Component but doesn't render any DOM elements widget at the client-side. It only renders comment nodes for positioning. Thus, you | + | <tt>Nodom</tt> is a ZK Component but only has server-side Java object and doesn't render any DOM elements and JavaScript widget at the client-side. It only renders comment nodes for positioning. Thus, you can use a <tt><nodom></tt> as the outermost component to group components under a controller (composer/ViewModel). |
== Limitation== | == Limitation== | ||
− | nodom does not support using <tt>hflex/vflex</tt> in itself and its children component. | + | <tt><nodom></tt> does not support using <tt>hflex/vflex</tt> in itself and its children component. |
= Example = | = Example = |
Revision as of 09:27, 1 April 2021
Nodom
- Demonstration: N/A
Employment/Purpose
Nodom is a ZK Component but only has server-side Java object and doesn't render any DOM elements and JavaScript widget at the client-side. It only renders comment nodes for positioning. Thus, you can use a <nodom> as the outermost component to group components under a controller (composer/ViewModel).
Limitation
<nodom> does not support using hflex/vflex in itself and its children component.
Example
<nodom viewModel="@id('vm')@init('foo.MyViewModel')">
<window border="normal">
<button id="btn" label="@init(vm.label)" />
</window>
<div>
<button id="btn" label="@init(vm.label)" />
</div>
</nodom>
Supported Events
None | None |
Supported Children
*ALL
Use Cases
Version | Description | Example Location |
---|---|---|
Version History
Version | Date | Content |
---|---|---|
8.0.3 | 2016/09/21 | Add the new Nodom component |