Home Reference Source Repository
import SelectBoxBase from 'webmapsjs/src/domUtil/SelectBoxBase.js'
public class | source

SelectBoxBase

Constructor Summary

Public Constructor
public

constructor(parent: jQuery, labelContent: string, contentGen: contentGenFunc)

Member Summary

Public Members
public

$label: *

public get

box: jQuery: *

public get
public get
Protected Members
protected

reference to the selector box

protected set

Method Summary

Public Methods
public

addChangeListener(func: changeListener)

public

Public Constructors

public constructor(parent: jQuery, labelContent: string, contentGen: contentGenFunc) source

Params:

NameTypeAttributeDescription
parent jQuery

parent container

labelContent string
contentGen contentGenFunc
  • optional
  • default: undefined

Public Members

public $label: * source

public get box: jQuery: * source

Return:

jQuery

public get selectedText: * source

public get selectedValue: string | number: * source

Return:

string | number

Protected Members

protected _box: jQuery source

reference to the selector box

protected set selectedValue(v: string | number): * source

Public Methods

public addChangeListener(func: changeListener) source

Params:

NameTypeAttributeDescription
func changeListener

public changed() source