AgentStack
SKILL verified MIT Self-run

El Dropdown

skill-jiaiyan-element-plus-skills-el-dropdown · by jiaiyan

Dropdown component for toggleable menus displaying lists of links and actions. Invoke when user needs to create dropdown menus, action menus, or context menus.

No reviews yet
0 installs
11 views
0.0% view→install

Install

$ agentstack add skill-jiaiyan-element-plus-skills-el-dropdown

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No 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.

Are you the author of El Dropdown? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Dropdown Component

Dropdown component provides a toggleable menu for displaying lists of links and actions.

When to Use

  • Navigation menus
  • Action menus
  • Context menus
  • Split button actions

Basic Usage


  
    
      Dropdown List
      
    
    
      
        Action 1
        Action 2
        Action 3
      
    
  

import { ArrowDown } from '@element-plus/icons-vue'

Triggering Element


  
    Dropdown List
    
      
        Action 1
        Action 2
      
    
  

Trigger Methods


  
    Click to trigger
    
      
        Action
      
    
  
  
  
    Hover to trigger
    
      
        Action
      
    
  

Command Event


  
    Dropdown
    
      
        Action 1
        Action 2
      
    
  

const handleCommand = (command) => {
  console.log('Command:', command)
}

Sizes


  
    Large
    
      
        Action
      
    
  

API Reference

Dropdown Attributes

| Name | Description | Type | Default | |------|-------------|------|---------| | type | Menu button type | Button type enum | '' | | size | Menu size | 'large' \| 'default' \| 'small' | '' | | max-height | Max height of menu | string \| number | '' | | split-button | Display as button group | boolean | false | | disabled | Whether disabled | boolean | false | | placement | Placement of pop menu | Placement enum | 'bottom' | | effect | Tooltip theme | 'dark' \| 'light' | 'light' | | trigger | How to trigger | 'click' \| 'hover' \| 'contextmenu' | 'hover' | | hide-on-click | Hide menu after clicking | boolean | true | | show-timeout | Delay before show | number | 150 | | hide-timeout | Delay before hide | number | 150 | | teleported | Teleport to body | boolean | true |

Dropdown Events

| Name | Description | Type | |------|-------------|------| | click | Left button clicked (split-button) | (e: MouseEvent) => void | | command | Dropdown item clicked | (...args: any[]) => void | | visible-change | Dropdown visibility changes | (val: boolean) => void |

Dropdown Exposes

| Name | Description | Type | |------|-------------|------| | handleOpen | Open dropdown menu | () => void | | handleClose | Close dropdown menu | () => void |

DropdownItem Attributes

| Name | Description | Type | Default | |------|-------------|------|---------| | command | Command to dispatch | string \| number \| object | — | | disabled | Whether disabled | boolean | false | | divided | Show divider | boolean | false | | icon | Custom icon | string \| Component | — |

Best Practices

  1. Use split-button for primary action with dropdown
  2. Use command event for action handling
  3. Set hide-on-click="false" for multi-action menus

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.