Skip to content

Commit

Permalink
fix: createSheet 에서 sync 옵션 적용되도록 수정.
Browse files Browse the repository at this point in the history
  • Loading branch information
jun-kuun committed Nov 27, 2023
1 parent 59a1c4e commit aee6546
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/lib/ibsheet/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export interface IBSheetCreateOptions {
// ibsheet options
options?: IBSheetOptions
data?: any
sync?: boolean
}

export interface IBSheetInstance {
Expand Down
3 changes: 2 additions & 1 deletion src/lib/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,8 @@ export class IBSheetLoaderStatic extends CustomEventEmitter {
{ key: 'id' },
{ key: 'el', alias: ['elementId'] },
{ key: 'options', alias: ['config'] },
{ key: 'data' }
{ key: 'data' },
{ key: 'sync' }
].forEach((o: any) => {
const { key } = o
concat(key, get(o, 'alias'))
Expand Down

0 comments on commit aee6546

Please sign in to comment.