Tank API Reference


animation string advanced
coerce boolean false
customInterval boolean false
customTicks array 0,50,100
dateLabelFormatString string d
decimalSeparator string "."
disabled boolean false
interval any 1
inverted boolean false
labelFormatFunction function null
labelsVisibility string all
locale string en
localizeFormatFunction function null
logarithmicScale boolean false
max any 100
mechanicalAction string switchWhileDragging
messages object {"en":{"propertyUnknownType":"'{{name}}' property is with undefined 'type' member!","propertyInvalidValue":"Invalid '{{name}}' property value! Actual value: {{actualValue}}, Expected value: {{value}}!","propertyInvalidValueType":"Invalid '{{name}}' property value type! Actual type: {{actualType}}, Expected type: {{type}}!","elementNotInDOM":"Element does not exist in DOM! Please, add the element to the DOM, before invoking a method.","moduleUndefined":"Module is undefined.","missingReference":"{{elementType}}: Missing reference to {{files}}.","htmlTemplateNotSuported":"{{elementType}}: Browser doesn't support HTMLTemplate elements.","invalidTemplate":"{{elementType}}: \"{{property}}\" property accepts a string that must match the id of an HTMLTemplate element from the DOM.","significantPrecisionDigits":"{{elementType}}: the properties significantDigits and precisionDigits cannot be set at the same time.","invalidMinOrMax":"{{elementType}}: Invalid {{property}} value. Max cannot be lower than Min.","noInteger":"{{elementType}}: precisionDigits could be set only on \"floatingPoint\" scaleType."}}
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 null
theme string
thumbLabelPosition string near
ticksPosition string scale
ticksVisibility string minor
tooltipPosition string near
unfocusable boolean false
unit string kg
value any 0
wordLength string int32


change Event


focus Method
getOptimalSize Method
val Method