Tank API Reference

Properties

Name Type Default Value
animation string 'advanced'
coerce boolean false
customInterval boolean false
customTicks number[] 0,50,100
dateLabelFormatString string 'd'
decimalSeparator string '"."'
disabled boolean false
interval any 1
inverted boolean false
labelFormatFunction function | null null
labelsVisibility string 'all'
locale string 'en'
localizeFormatFunction function | null null
logarithmicScale boolean false
max any 100
mechanicalAction string 'switchWhileDragging'
messages object Please expand entry to see value
min any 0
mode string 'numeric'
name string ''
orientation string 'vertical'
precisionDigits number null
readonly boolean false
scalePosition string 'near'
scaleType string 'floatingPoint'
scientificNotation boolean false
showThumbLabel boolean false
showTooltip boolean false
showUnit boolean false
significantDigits number 0
theme string ''
thumbLabelPosition string 'near'
ticksPosition string 'scale'
ticksVisibility string 'minor'
tooltipPosition string 'near'
unfocusable boolean false
unit string 'kg'
validation string 'strict'
value any 0
wordLength string 'int32'

Events

Name Type
change Event

Methods

Name Type Return Type
focus(): void Method void
getOptimalSize(): object Method object
val(value?: string | number): string Method string