ElemeFE / ElemeFE/element

[Feature Request] Run custom function onClick shortcut datepicker

Open
#19,354 1 comment 1 reaction 0 assignees View on GitHub
stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Existing Component
Yes

### Component Name
DatePicker

### Description
I am using shortcuts and within the onClick function I would like to call a function from my component, however **this** now refers to the picker instead of the component itself. Is there a way to run a function when a shortcut is selected in the datepicker element?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.