You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Module '"ngx-sortablejs"' has no exported member 'SortablejsOptions'.ts in Angular 12 #251
I needed options for dragging beetween multiple list. I marked options as any type in typecsript without any imports and it works.... But only as temporary solution I hope import will be fixed soon :)
options: any = { group: 'groups', draggable: '.draggable', };
I needed options for dragging beetween multiple list. I marked options as any type in typecsript without any imports and it works.... But only as temporary solution I hope import will be fixed soon :)
options: any = { group: 'groups', draggable: '.draggable', };
did you try my suggestion? (import {Options} from 'sortablejs';)
(strangely enough I only get onStart events, but for other options should hopefully just work)
Activity
tehZeno commentedon Dec 15, 2021
Had the same issue, this works for me:
import {Options} from 'sortablejs';..
scuglik commentedon Dec 15, 2021
I needed options for dragging beetween multiple list. I marked options as any type in typecsript without any imports and it works.... But only as temporary solution I hope import will be fixed soon :)
options: any = { group: 'groups', draggable: '.draggable', };tehZeno commentedon Dec 15, 2021
did you try my suggestion? (
import {Options} from 'sortablejs';)(strangely enough I only get onStart events, but for other options should hopefully just work)
scuglik commentedon Dec 15, 2021
Yes with a little edit
import { SortableOptions } from 'sortablejs';to keep same types as in example and it works. Thank you very much