Install
$ agentstack add skill-jiaiyan-element-plus-skills-el-datetime-picker ✓ 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.
About
DateTimePicker Component
DateTimePicker allows selecting date and time in one picker.
When to Use
- Datetime selection
- Datetime range selection
- Scheduling
- Event creation
Basic Usage
import { ref } from 'vue'
const value = ref('')
DateTime Range
import { ref } from 'vue'
const value = ref([])
With Default Time
import { ref } from 'vue'
const value = ref([])
const defaultTime = [
new Date(2000, 1, 1, 0, 0, 0),
new Date(2000, 1, 1, 23, 59, 59)
]
Date Formats
API Reference
Attributes
| Name | Description | Type | Default | |------|-------------|------|---------| | model-value / v-model | Binding value | string \| Date \| number \| array | — | | type | Picker type | 'datetime' \| 'datetimerange' | 'datetime' | | format | Display format | string | 'YYYY-MM-DD HH:mm:ss' | | value-format | Value format | string | — | | default-time | Default time values | Date \| [Date, Date] | — | | date-format | Panel date format | string | 'YYYY-MM-DD' | | time-format | Panel time format | string | 'HH:mm:ss' | | arrow-control | Use arrow buttons | boolean | false |
Events
| Name | Description | Type | |------|-------------|------| | change | Value changes | (value) => void | | blur | Input blurs | (e: FocusEvent) => void | | focus | Input focuses | (e: FocusEvent) => void | | calendar-change | Calendar selection changes | (val) => void | | visible-change | Dropdown visibility changes | (visibility: boolean) => void |
Exposes
| Name | Description | Type | |------|-------------|------| | focus | Focus input | () => void | | blur | Blur input | () => void |
Best Practices
- Use
default-timefor consistent time values - Use
value-formatfor string values - Use
arrow-controlfor precise time selection
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.