Install
$ agentstack add skill-jiaiyan-element-plus-skills-el-cascader ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Cascader Component
Cascader displays and selects options with clear hierarchical structure.
When to Use
- Region/location selection
- Category hierarchies
- Organizational structures
- Multi-level navigation
Basic Usage
import { ref } from 'vue'
const value = ref([])
const options = [
{
value: 'guide',
label: 'Guide',
children: [
{ value: 'disciplines', label: 'Disciplines' },
{ value: 'consistency', label: 'Consistency' }
]
}
]
Multiple Selection
import { ref } from 'vue'
const value = ref([])
const props = { multiple: true }
Select Any Level
Dynamic Loading
const props = {
lazy: true,
lazyLoad(node, resolve) {
const { level } = node
setTimeout(() => {
const nodes = Array.from({ length: level + 1 }).map((item, i) => ({
value: `${level}-${i}`,
label: `Option ${level}-${i}`,
leaf: level >= 2
}))
resolve(nodes)
}, 1000)
}
}
Filterable
API Reference
Cascader Attributes
| Name | Description | Type | Default | |------|-------------|------|---------| | model-value / v-model | Binding value | string \| number \| array | — | | options | Data of options | CascaderOption[] | — | | props | Configuration options | CascaderProps | — | | size | Size of input | 'large' \| 'default' \| 'small' | — | | placeholder | Placeholder | string | — | | disabled | Whether disabled | boolean | — | | clearable | Whether clearable | boolean | — | | show-all-levels | Display all levels | boolean | true | | collapse-tags | Collapse tags in multiple mode | boolean | — | | separator | Option label separator | string | ' / ' | | filterable | Whether searchable | boolean | — |
CascaderProps
| Name | Description | Type | Default | |------|-------------|------|---------| | expandTrigger | Expand trigger mode | 'click' \| 'hover' | 'click' | | multiple | Enable multiple selection | boolean | false | | checkStrictly | Parent-child independent | boolean | false | | emitPath | Emit path array | boolean | true | | lazy | Enable lazy loading | boolean | false | | lazyLoad | Lazy load method | (node, resolve) => void | — | | value | Value key | string | 'value' | | label | Label key | string | 'label' | | children | Children key | string | 'children' |
Events
| Name | Description | |------|-------------| | change | Value changes | | expand-change | Expand changes | | blur | Blur event | | focus | Focus event |
Best Practices
- Use
checkStrictlyfor selecting any level - Use
lazyloading for large datasets - Use
filterablefor searchable cascaders
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: jiaiyan
- Source: jiaiyan/element-plus-skills
- License: MIT
- Homepage: https://skills.sh/jiaiyan/element-plus-skills/element-plus-skills
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.