From c3294a55329cf02f82312edd1d787ea684740536 Mon Sep 17 00:00:00 2001 From: Yury Uvarov Date: Mon, 27 Nov 2023 18:52:58 +0300 Subject: [PATCH] fix demo --- demo/main.ts | 10 +++------- demo/pages/multiple/main.ts | 12 ------------ 2 files changed, 3 insertions(+), 19 deletions(-) diff --git a/demo/main.ts b/demo/main.ts index 02b61b09..ad6e95a0 100644 --- a/demo/main.ts +++ b/demo/main.ts @@ -8,13 +8,9 @@ import { IOptions } from '@src/types'; const config: IOptions = { settings: { - // selected: { - // month: 3, - // year: 2023, - // }, - range: { - // disableAllDays: true, - disablePast: true, + selected: { + month: 3, + year: 2023, }, }, }; diff --git a/demo/pages/multiple/main.ts b/demo/pages/multiple/main.ts index 399c0591..0c29d873 100644 --- a/demo/pages/multiple/main.ts +++ b/demo/pages/multiple/main.ts @@ -9,10 +9,6 @@ import { IOptions } from '@src/types'; const config: IOptions = { type: 'multiple', settings: { - // range: { - // min: '2023-09-08', - // max: '2025-09-08', - // }, selection: { day: 'multiple-ranged', }, @@ -21,14 +17,6 @@ const config: IOptions = { year: 2023, }, }, - // actions: { - // clickMonth(e, month, year) { - // console.log(e, month, year); - // }, - // clickYear(e, year, month) { - // console.log(e, year, month); - // }, - // }, }; document.addEventListener('DOMContentLoaded', () => {