Cascader"

From Documentation
(Created page with "{{ZKComponentReferencePageHeader}} = Cascader = *Demonstration: N/A *Style Guide: N/A *[http://www.zkoss.org/product/edition.dsp Available in ZK EE only] since 9.5.0 == Relat...")
 
m (apply wikitable (via JWB))
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{ZKComponentReferencePageHeader}}
 
{{ZKComponentReferencePageHeader}}
 
+
{{versionSince|9.5.0}} {{ZK EE}}
= Cascader =
+
{{ZKComponentReferenceAccessibilityNamingReference}}
*Demonstration: N/A
 
*Style Guide: N/A
 
*[http://www.zkoss.org/product/edition.dsp Available in ZK EE only]
 
  since 9.5.0
 
 
 
== Related components ==
 
None.
 
 
 
== Required Settings ==
 
 
 
{| border="1px"
 
! <center>Attributes</center>
 
! <center>Description</center>
 
|-
 
| aria-label
 
| Describe the Cascader.
 
|}
 
  
 
== Keyboard Support ==
 
== Keyboard Support ==
{| border="1px"
+
{| class="wikitable"
 
! <center>Key</center>
 
! <center>Key</center>
 
! <center>Description</center>
 
! <center>Description</center>
 
|-
 
|-
| ArrowUp/ArrowLeft/ArrowRight
+
| ArrowUp / ArrowLeft / ArrowRight
 
| Navigate options.
 
| Navigate options.
 
|-
 
|-
Line 31: Line 14:
 
| Open the popup or navigate options
 
| Open the popup or navigate options
 
|-
 
|-
| Enter/Spacebar
+
| Enter / Spacebar
 
| Select the options
 
| Select the options
 
|-
 
|-
 
| Escape
 
| Escape
 
| Close the popup
 
| Close the popup
 +
|-
 +
| Backspace / Delete
 +
| Clear selection
 
|}
 
|}
 
== Example ==
 
<source lang="xml">
 
  <cascader model="${model}" width="300px" placeholder="empty" ca:aria-label="Choose something">
 
    <template name="model">
 
      ${each}
 
    </template>
 
  </cascader>
 
</source>
 

Latest revision as of 06:16, 26 July 2023

Since 9.5.0

  • Available for ZK:
  • http://www.zkoss.org/product/zkhttp://www.zkoss.org/whyzk/zkeeVersion ee.png

Label a Component

To name a component with ARIA attribute by adding the aria-label client attribute to the component, please refer to ZK_Developer's_Reference/Accessibility#Specify_ARIA_Attributes

Keyboard Support

Key
Description
ArrowUp / ArrowLeft / ArrowRight Navigate options.
ArrowDown Open the popup or navigate options
Enter / Spacebar Select the options
Escape Close the popup
Backspace / Delete Clear selection