We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
set
Hi! I think I've found a little problem: the arguments of the set method cannot be null, although this is a valid value according to the documentation: https://refreshless.com/nouislider/slider-read-write/#section-setting
null
A temporary solution — to pass a 'null'.
'null'
P.S. Thanks for the awesome slider!
export interface API { destroy: () => void; steps: () => NextStepsForHandle[]; on: (eventName: string, callback: EventCallback) => void; off: (eventName: string) => void; get: (unencoded?: boolean) => GetResult; // The null value should be allowed here set: (input: number | string | (number | string)[], fireSetEvent?: boolean, exactInput?: boolean) => void; setHandle: (handleNumber: number, value: number | string, fireSetEvent?: boolean, exactInput?: boolean) => void; reset: (fireSetEvent?: boolean) => void; disable: (handleNumber?: number) => void; enable: (handleNumber?: number) => void; options: Options; updateOptions: (optionsToUpdate: UpdatableOptions, fireSetEvent: boolean) => void; target: HTMLElement; removePips: () => void; removeTooltips: () => void; getTooltips: () => { [handleNumber: number]: HTMLElement | false; }; getOrigins: () => { [handleNumber: number]: HTMLElement; }; pips: (grid: Pips) => HTMLElement; }
The text was updated successfully, but these errors were encountered:
Add getPositions to API types, allow null in types for set methods (#…
a45fa16
…1270, #1271)
Thanks, you are quite right. I've update the types in noUiSlider 15.7.2.
Sorry, something went wrong.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
No branches or pull requests
Hi! I think I've found a little problem: the arguments of the
set
method cannot benull
, although this is a valid value according to the documentation: https://refreshless.com/nouislider/slider-read-write/#section-settingA temporary solution — to pass a
'null'
.P.S. Thanks for the awesome slider!
The text was updated successfully, but these errors were encountered: