Options
All
  • Public
  • Public/Protected
  • All
Menu

Polymer element for a url link

Hierarchy

Index

Constructors

Static constructor

Events

onSliderValueChanged

  • onSliderValueChanged(): void

onUnitMenuSelected

  • onUnitMenuSelected(ev: Event): void

Properties

Protected disabled

disabled: boolean = false

Disabled state of element

Protected label

label: string = ""

Descriptive label

Protected list

list: PaperListboxElement

paper-listbox of units

Protected name

name: string = "store"

Element name

Protected noseparator

noseparator: boolean = false

Visibility state of optional divider

Protected sectionTitle

sectionTitle: string = ""

Optional group title

Protected template

template: DomRepeat

paper-listbox template

Protected unitIdx

unitIdx: number = 1

Current unit array index

remarks

TODO - needs permanent fix Set this to 1 instead of 0 because of obscure bug caused by transitionTime minimum in seconds (index 0) being larger than the others

Protected units

units: IUnitType[] = []

Array of IUnitType

Accessors

Static mainContent

  • get mainContent(): HTMLTemplateElement

Static template

  • get template(): HTMLTemplateElement

Methods

Protected _valueChanged

Protected fireEvent

  • fireEvent(name: string, detailValue?: any): void

ready

  • ready(): void

Protected setBase

  • setBase(): void

Protected unitIdxChanged

  • unitIdxChanged(newValue: number): void

Static localize

  • localize(name: string, def?: undefined | string): string
  • Localize a string

    Parameters

    • name: string

      name from _locales

    • Optional def: undefined | string

      optional default value if name not found

    Returns string

Object literals

Protected unit

unit: object

The current @link {IUnitType}

max

max: number = 1000

min

min: number = 0

mult

mult: number = 1

name

name: string = "unknown"

step

step: number = 1

Protected value

value: object

Unit value

base

base: number = 10

display

display: number = 10

unit

unit: number = 0

Generated using TypeDoc