Class: PopupPattern

PopupPattern

Input to select symbols in a popup


new PopupPattern(options)

Parameters:
Name Type Argument Default Description
options Object

a list of options

Properties
Name Type Description
input Element

the input

option.symbol string <optional>
'ign-form-poi'

the current symbol

options.position booelan <optional>
'fixed'

popup position on the page

Source:
input/PopupPattern.js

Extends

  • PopupBase

Methods


getOptions()

Get pattern options

Source:
input/PopupPattern.js
Returns:
Type
Object

setAngle(s)

Set pattern angle

Parameters:
Name Type Description
s number
Source:
input/PopupPattern.js

setOffset(s)

Set pattern offset

Parameters:
Name Type Description
s number
Source:
input/PopupPattern.js

setPattern(p)

Set pattern

Parameters:
Name Type Description
p string
Source:
input/PopupPattern.js

setScale(s)

Set pattern scale

Parameters:
Name Type Description
s number
Source:
input/PopupPattern.js

setSize(s)

Set pattern size

Parameters:
Name Type Description
s number
Source:
input/PopupPattern.js

setSpacing(s)

Set pattern spacing

Parameters:
Name Type Description
s number
Source:
input/PopupPattern.js

setValue(value)

Change the current value

Parameters:
Name Type Description
value string
Source:
input/PopupPattern.js