KnobData.name
property · packages/mixins/src/theme/knobDataType.ts:7
readonly name: NameMixins / foldkit-mixins/theme/knob-data
interface · packages/mixins/src/theme/knobDataType.ts:6
interface KnobData<Name extends string = string> {
readonly name: Name
readonly title: string
readonly variable: string
readonly unit: string
readonly min: number
readonly max: number
readonly step: number
readonly default: number
}A knob drawn as a range: the variable it writes and the bounds of its control.
KnobData.nameproperty · packages/mixins/src/theme/knobDataType.ts:7
readonly name: NameKnobData.titleproperty · packages/mixins/src/theme/knobDataType.ts:8
readonly title: stringKnobData.variableproperty · packages/mixins/src/theme/knobDataType.ts:10
readonly variable: stringThe variable it writes, the name after --fk-knob-.
KnobData.unitproperty · packages/mixins/src/theme/knobDataType.ts:11
readonly unit: stringKnobData.minproperty · packages/mixins/src/theme/knobDataType.ts:12
readonly min: numberKnobData.maxproperty · packages/mixins/src/theme/knobDataType.ts:13
readonly max: numberKnobData.stepproperty · packages/mixins/src/theme/knobDataType.ts:14
readonly step: numberKnobData.defaultproperty · packages/mixins/src/theme/knobDataType.ts:15
readonly default: number