Nodom"

From Documentation
Line 13: Line 13:
  
 
<source lang="xml" >
 
<source lang="xml" >
<nodom>
+
<nodom viewModel="@id('vm')@init('foo.MyViewModel')">
 
<window border="normal">
 
<window border="normal">
<button id="btn" label="button" />
+
<button id="btn" label="@init(vm.label)" />
 
</window>
 
</window>
 
<div>
 
<div>
<button id="btn" label="button" />
+
<button id="btn" label="@init(vm.label)" />
 
</div>
 
</div>
 
</nodom>
 
</nodom>

Revision as of 04:29, 31 January 2018

Nodom

  • Demonstration: N/A

Employment/Purpose

Nodom is a ZK Component but render no-dom widget in client-side. It only render comment nodes for positioning. Thus, you could use a nodom as the topmost component to group components.

Notice that nodom element does not support using hflex/vflex in itself and its children component.

Example

ZKComRef Idspace Example.png

<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

Name
Event Type
None None

Supported Children

*ALL

Use Cases

Version Description Example Location
 

Version History

Last Update : 2018/01/31


Version Date Content
8.0.3 2016/09/21 Add the new Nodom component
     



Last Update : 2018/01/31

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.