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...")
 
Line 6: Line 6:
 
*[http://www.zkoss.org/product/edition.dsp Available in ZK EE only]
 
*[http://www.zkoss.org/product/edition.dsp Available in ZK EE only]
 
   since 9.5.0
 
   since 9.5.0
 
== Related components ==
 
None.
 
  
 
== Required Settings ==
 
== Required Settings ==
Line 16: Line 13:
 
! <center>Description</center>
 
! <center>Description</center>
 
|-
 
|-
| aria-label
+
| aria-label / aria-labelledby
| Describe the Cascader.
+
| Name the Cascader. For more information about naming, please refer to [[ZK_Component_Reference/Accessibility | Accessibility]]
 
|}
 
|}
  
Line 25: Line 22:
 
! <center>Description</center>
 
! <center>Description</center>
 
|-
 
|-
| ArrowUp/ArrowLeft/ArrowRight
+
| ArrowUp / ArrowLeft / ArrowRight
 
| Navigate options.
 
| Navigate options.
 
|-
 
|-
Line 31: Line 28:
 
| Open the popup or navigate options
 
| Open the popup or navigate options
 
|-
 
|-
| Enter/Spacebar
+
| Enter / Spacebar
 
| Select the options
 
| Select the options
 
|-
 
|-
Line 37: Line 34:
 
| Close the popup
 
| Close the popup
 
|}
 
|}
 
== Example ==
 
<source lang="xml">
 
  <cascader model="${model}" width="300px" placeholder="empty" ca:aria-label="Choose something">
 
    <template name="model">
 
      ${each}
 
    </template>
 
  </cascader>
 
</source>
 

Revision as of 23:39, 28 July 2020

Cascader

 since 9.5.0

Required Settings

Attributes
Description
aria-label / aria-labelledby Name the Cascader. For more information about naming, please refer to Accessibility

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