mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-11 21:58:31 +00:00
Mark optional slider params
This commit is contained in:
parent
8a7ff9e01d
commit
a3bf6975c4
@ -116,9 +116,9 @@ export const sliderPlugin = ViewPlugin.fromClass(
|
||||
*
|
||||
* @name slider
|
||||
* @param {number} value Initial value
|
||||
* @param {number} min Minimum value
|
||||
* @param {number} max Maximum value
|
||||
* @param {number} step Step size
|
||||
* @param {number} min Minimum value - optional, defaults to 0
|
||||
* @param {number} max Maximum value - optional, defaults to 1
|
||||
* @param {number} step Step size - optional
|
||||
*/
|
||||
export let slider = (value) => {
|
||||
console.warn('slider will only work when the transpiler is used... passing value as is');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user