HTMLSlider

Element

Creates an HTML slider.

Usage (signatures)
board.create('htmlslider', [position, range]);
Parameters
Name Type Description
position Array

Position of the slider, array of length two.

range Array

Range of the slider (begin, start value, end).

Example
var s = board.create('htmlslider', [[-3, 1], [-1, 1, 5]]);
board.create('point', [() => s.Value(), - 2]);
Attributes

Own

step

Description

Step size of the slider

Type
Number
Default Value
0.01
Source
options.js, line 6180

widthOut

Description

Set the width of the DOM sub-element out showing the value of the slider Accessible with JavaScript as element.rendNodeOut.

Type
Number
Default Value
34
Source
options.js, line 6169

widthRange

Description

Set the width of the DOM sub-element <input type="range">. Accessible with JavaScript as element.rendNodeRange.

Type
Number
Default Value
100
Source
options.js, line 6158

Inherited

Members

Own

none

Inherited

Methods

Own

Value()

Get the actual value of the HTML slider.

Returns

Number

Details

Source
base/text.js, line 1850

Inherited

Coords

Dist

X

XEval

Y

YEval

Z

ZEval

_anim

_createFctUpdateText

_set

_setText

addAnchor

addChild

addConstraint

addDescendants

addParents

addParentsFromJCFunctions

addRotation

addTicks

addTransform

animate

bounds

calculateScore

checkForSizeUpdate

clearTrace

clearTransforms

cloneToBackground

convertGeonext2CSS

convertGeonextAndSketchometry2CSS

convertSketchometry2CSS

countChildren

createGradient

createLabel

crudeSizeEstimate

draggable

escapeTicks

eval

evalVisProp

expandShortMath

findClosestSnapValue

formatNumberLocale

free

fullUpdate

generatePolynomial

generateTerm

getAnchorX

getAnchorY

getAttribute

getAttributes

getLabelAnchor

getName

getNumberOfConflicts

getParents

getProperty

getSize

getSnapSizes

getTextAnchor

getType

handleAttractors

handleSnapToGrid

handleSnapToPoints

hasPoint

hide

hideElement

makeGlider

moveAlong

moveAlongES6

moveTo

moveToES6

noHighlight

normalize

notifyParents

poorMansTeX

popSlideObject

prepareUpdate

remove

removeAllTicks

removeChild

removeDescendants

removeTicks

removeTransform

replaceSub

replaceSup

resolveShortcuts

setArrow

setAttribute

setAutoPosition

setCoords

setDash

setDisplayRendNode

setGliderPosition

setLabel

setLabelText

setName

setParents

setPosition

setPositionByTransform

setPositionDirectly

setProperty

setText

setTextJessieCode

show

showElement

snapToPoints

toTopOfLayer

unescapeTicks

update

updateConstraint

updateCoords

updateGlider

updateGliderFromParent

updateRenderer

updateSize

updateText

updateTransform

updateVisibility

useLocale

utf8_decode

valueTagToJessieCode

visit

visitES6

Events

Own

none

Inherited

Details

Type
JXG.Text
See
Source
base/text.js, line 1744

Extends