Skip to content

DropDownList.toggle() method TypeScript declaration #6849

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Rus7am opened this issue May 18, 2022 · 1 comment
Closed

DropDownList.toggle() method TypeScript declaration #6849

Rus7am opened this issue May 18, 2022 · 1 comment

Comments

@Rus7am
Copy link

Rus7am commented May 18, 2022

Bug report

DropDownList.toggle() method TypeScript declaration requires a parameter:

toggle(toggle: boolean): void;

but it's not required in the documentation and in reality.

Environment

  • Kendo UI version: 2022.1.301
  • jQuery version: 3.6.0
  • Browser: [ Edge 101.0.1210.47 (Official build) (64-bit) ]
@ag-petrov
Copy link
Contributor

Actually a parameter can be passed to the function and it is optional. We should update our docs and definitions to reflect this. If a boolean value is passed to the method determine whether to open/close the popup. For example in the case where true is passed the popup will always be opened.

@nelito987 nelito987 self-assigned this Feb 22, 2024
@github-actions github-actions bot added the FP: Completed Sync status with associated Feedback Item label Feb 23, 2024
@Dimitar-Goshev Dimitar-Goshev added this to the 2024 Q2 milestone Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants