Skip to content

Commit

Permalink
feat: Expose toggleMenu function (resolves #644)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasenkoo committed Nov 10, 2023
1 parent 5bfeb61 commit d2624e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ export interface PublicMethods extends MethodOptions {
setMonthYear: (value: { month?: number | string; year?: number | string }) => void;
parseModel: (value?: ModelValue) => void;
switchView: (view: MenuView, instance?: number) => void;
toggleMenu: () => void;
}

declare const _default: DefineComponent<
Expand Down
1 change: 1 addition & 0 deletions src/VueDatePicker/VueDatePicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -484,5 +484,6 @@
setMonthYear,
parseModel,
switchView,
toggleMenu,
});
</script>

0 comments on commit d2624e7

Please sign in to comment.