Skip to content

Commit

Permalink
fix demo
Browse files Browse the repository at this point in the history
  • Loading branch information
uvarov-frontend committed Nov 27, 2023
1 parent 4c8a134 commit c3294a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 19 deletions.
10 changes: 3 additions & 7 deletions demo/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
},
};
Expand Down
12 changes: 0 additions & 12 deletions demo/pages/multiple/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
Expand All @@ -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', () => {
Expand Down

0 comments on commit c3294a5

Please sign in to comment.