Client Attribute Prefix
From Documentation
Name: client attribute prefix Namespace: http://www.zkoss.org/2020/zk/client/attribute-prefix Namespace shortcut: client/attribute-prefix Java: LanguageDefinition.CLIENT_ATTRIBUTE_PREFIX_NAMESPACE
It is the reserved namespace for specifying client-side DOM attributes including the prefix. Unlike the client namespace, which assigns something to widgets, the client/attribute namespace assigns additional DOM attributes to the DOM tree directly at the client.
For example, suppose you want to specify v-on:click
as a DOM attribute, you can do as follows.
<zk xmlns:v-on="client/attribute-prefix">
<button v-on:click="doSth">Do Something</button>
</zk>
Version History
Version | Date | Content |
---|---|---|
9.0.1 | April 2010 | The client-attribute-prefix namespace was introduced. |