zimjs 17.0.0 → 17.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/zim.js +595 -60
- package/ts-src/typings/zim/index.d.ts +87 -46
|
@@ -550,10 +550,10 @@ declare namespace zim {
|
|
|
550
550
|
export function countDecimals(num: number): number
|
|
551
551
|
export function sign(num: number): 1 | 0 | -1
|
|
552
552
|
export function constrain(num: number, min?: number, max?: number, negative?: boolean): number
|
|
553
|
-
export function dist(
|
|
553
|
+
export function dist(a: {} | number, b: {} | number, c: number, d: number): number
|
|
554
554
|
export function rectIntersect(a: {} | Boundary, b: {} | Boundary, margin?: number): {}
|
|
555
555
|
export function boundsAroundPoints(points: [{}]): number
|
|
556
|
-
export function angle(
|
|
556
|
+
export function angle(a: {} | number, b: {} | number, c: number, d: number): number
|
|
557
557
|
export function asset(file: string): DisplayObject
|
|
558
558
|
export class Point {
|
|
559
559
|
constructor(x: number, y: number, z?: number, q?: number, r?: number, s?: number, t?: number, u?: number, v?: number, w?: number)
|
|
@@ -630,11 +630,11 @@ declare namespace zim {
|
|
|
630
630
|
immediate(num: number): this
|
|
631
631
|
}
|
|
632
632
|
export class Proportion {
|
|
633
|
-
constructor(baseMin: number, baseMax: number, targetMin?: number, targetMax?: number, factor?: number, targetRound?: boolean)
|
|
633
|
+
constructor(baseMin: number, baseMax: number, targetMin?: number, targetMax?: number, factor?: number, targetRound?: boolean, clamp?: boolean, clampMin?: number, clampMax?: number)
|
|
634
634
|
convert(input: number): number
|
|
635
635
|
}
|
|
636
636
|
export class ProportionDamp {
|
|
637
|
-
constructor(baseMin: number, baseMax: number, targetMin?: number, targetMax?: number, damp?: number, factor?: number, targetRound?: boolean)
|
|
637
|
+
constructor(baseMin: number, baseMax: number, targetMin?: number, targetMax?: number, damp?: number, factor?: number, targetRound?: boolean, clamp?: boolean, clampMin?: number, clampMax?: number)
|
|
638
638
|
damp: number
|
|
639
639
|
convert(input: number): number
|
|
640
640
|
immediate(num: number): this
|
|
@@ -2126,8 +2126,8 @@ declare namespace zim {
|
|
|
2126
2126
|
// dispose():boolean // now added to Container, etc.
|
|
2127
2127
|
enabled: boolean
|
|
2128
2128
|
// END ZIM Component Interface
|
|
2129
|
-
|
|
2130
|
-
|
|
2129
|
+
setBacking(type: string, newIcon: DisplayObject): this
|
|
2130
|
+
setIcon(type: string, newIcon: DisplayObject): this
|
|
2131
2131
|
toggle(state?: boolean): this
|
|
2132
2132
|
wait(): this
|
|
2133
2133
|
clearWait(): this
|
|
@@ -2175,14 +2175,15 @@ declare namespace zim {
|
|
|
2175
2175
|
backgroundColor: color
|
|
2176
2176
|
}
|
|
2177
2177
|
export class RadioButtons extends Container implements zimComponent {
|
|
2178
|
-
constructor(config_or_size?: number, buttons?: string[] | {}[], vertical?: boolean, color?: color, backgroundColor?: color, spacing?: number, margin?: number, always?: boolean, indicatorColor?: color, selectedIndex?: number, style?: boolean, group?: string, inherit?: {})
|
|
2179
|
-
constructor(config: { size?: number, buttons?: string[] | {}[], vertical?: boolean, color?: color, backgroundColor?: color, spacing?: number, margin?: number, always?: boolean, indicatorColor?: color, selectedIndex?: number, style?: boolean, group?: string, inherit?: {} })
|
|
2178
|
+
constructor(config_or_size?: number, buttons?: string[] | {}[], vertical?: boolean, color?: color, backgroundColor?: color, spacing?: number, margin?: number, always?: boolean, indicatorColor?: color, index?: number, rtl?: boolean, selectedIndex?: number, style?: boolean, group?: string, inherit?: {})
|
|
2179
|
+
constructor(config: { size?: number, buttons?: string[] | {}[], vertical?: boolean, color?: color, backgroundColor?: color, spacing?: number, margin?: number, always?: boolean, indicatorColor?: color, index?: number, rtl?: boolean, selectedIndex?: number, style?: boolean, group?: string, inherit?: {} })
|
|
2180
2180
|
// ZIM Component Interface
|
|
2181
2181
|
// dispose():boolean // now added to Container, etc.
|
|
2182
2182
|
enabled: boolean
|
|
2183
2183
|
// END ZIM Component Interface
|
|
2184
2184
|
setSelected(num: number): this
|
|
2185
2185
|
readonly selected: { index: number, selected: boolean, label: Label }
|
|
2186
|
+
index: number
|
|
2186
2187
|
selectedIndex: number
|
|
2187
2188
|
label: Label
|
|
2188
2189
|
text: string
|
|
@@ -2327,12 +2328,13 @@ declare namespace zim {
|
|
|
2327
2328
|
readonly bar: DisplayObject
|
|
2328
2329
|
}
|
|
2329
2330
|
export class Indicator extends Container implements zimComponent {
|
|
2330
|
-
constructor(config_or_width?: number, height?: number, num?: number, foregroundColor?: color, backgroundColor?: color, borderColor?: color, borderWidth?: number, backdropColor?: color, corner?: number | any[], indicatorType?: string|DisplayObject, selectedIndicatorType?: string|DisplayObject, fill?: boolean, scale?: number, lightScale?: number, interactive?: boolean, shadowColor?: color, shadowBlur?: number, selectedIndex?: number, style?: boolean, group?: string, inherit?: {})
|
|
2331
|
-
constructor(config: { width?: number, height?: number, num?: number, foregroundColor?: color, backgroundColor?: color, borderColor?: color, borderWidth?: number, backdropColor?: color, corner?: number | any[], indicatorType?: string|DisplayObject, selectedIndicatorType?: string|DisplayObject, fill?: boolean, scale?: number, lightScale?: number, interactive?: boolean, shadowColor?: color, shadowBlur?: number, selectedIndex?: number, style?: boolean, group?: string, inherit?: {} })
|
|
2331
|
+
constructor(config_or_width?: number, height?: number, num?: number, foregroundColor?: color, backgroundColor?: color, borderColor?: color, borderWidth?: number, backdropColor?: color, corner?: number | any[], indicatorType?: string|DisplayObject, selectedIndicatorType?: string|DisplayObject, fill?: boolean, scale?: number, lightScale?: number, interactive?: boolean, shadowColor?: color, shadowBlur?: number, index?: number, backgroundAlpha?: number, selectedIndex?: number, style?: boolean, group?: string, inherit?: {})
|
|
2332
|
+
constructor(config: { width?: number, height?: number, num?: number, foregroundColor?: color, backgroundColor?: color, borderColor?: color, borderWidth?: number, backdropColor?: color, corner?: number | any[], indicatorType?: string|DisplayObject, selectedIndicatorType?: string|DisplayObject, fill?: boolean, scale?: number, lightScale?: number, interactive?: boolean, shadowColor?: color, shadowBlur?: number, index?: number, backgroundAlpha?: number, selectedIndex?: number, style?: boolean, group?: string, inherit?: {} })
|
|
2332
2333
|
// ZIM Component Interface
|
|
2333
2334
|
// dispose():boolean // now added to Container, etc.
|
|
2334
2335
|
enabled: boolean
|
|
2335
2336
|
// END ZIM Component Interface
|
|
2337
|
+
index: number
|
|
2336
2338
|
selectedIndex: number
|
|
2337
2339
|
readonly num: number
|
|
2338
2340
|
readonly backdrop: Rectangle
|
|
@@ -2361,8 +2363,8 @@ declare namespace zim {
|
|
|
2361
2363
|
static LabelInput(config: { text?: string | zimVee, size?: number, maxLength?: number, password?: string, selectionColor?: color, selectionAlpha?: number, blinkerColor?: color, blinkerSpeed?: number, font?: string, color?: color, rollColor?: color, shadowColor?: color, shadowBlur?: number, align?: string, valign?: string, lineWidth?: number, lineHeight?: number, bold?: boolean, italic?: boolean, variant?: boolean, backing?: DisplayObject, outlineColor?: color, outlineWidth?: number, backgroundColor?: color, backgroundBorderColor?: color, backgroundBorderWidth?: number, corner?: number | any[], backgroundDashed?: boolean, padding?: number, paddingH?: number, paddingV?: number, shiftH?: number, shiftV?: number, rollPersist?: boolean, labelWidth?: number, labelHeight?: number, style?: boolean, group?: string, inherit?: {} }): Container
|
|
2362
2364
|
}
|
|
2363
2365
|
export class List extends zim.Window implements zimComponent {
|
|
2364
|
-
constructor(config_or_width?: number, height?: number, list?: any[], viewNum?: number, vertical?: boolean, currentSelected?: boolean, align?: string, valign?: string, labelAlign?: string, labelValign?: string, labelIndent?: number, labelIndentH?: boolean, labelIndentV?: boolean, indent?: number, spacing?: number, backgroundColor?: color, rollBackgroundColor?: color, downBackgroundColor?: color, selectedBackgroundColor?: color, backdropColor?: color, color?: color, rollColor?: color, downColor?: color, selectedColor?: color, borderColor?: color, borderWidth?: number, padding?: number, corner?: number | any[], swipe?: boolean, scrollBarActive?: boolean, scrollBarDrag?: boolean, scrollBarColor?: color, scrollBarAlpha?: number, scrollBarFade?: boolean, scrollBarH?: boolean, scrollBarV?: boolean, scrollBarOverlay?: boolean, slide?: boolean, slideFactor?: number, slideSnap?: boolean, slideSnapDamp?: number, shadowColor?: color, shadowBlur?: number, paddingH?: number, paddingV?: number, scrollWheel?: boolean, damp?: number, titleBar?: string | Label, titleBarColor?: color, titleBarBackgroundColor?: color, titleBarHeight?: number, draggable?: boolean, boundary?: {} | Boundary, onTop?: boolean, close?: boolean, closeColor?: color, excludeCustomTap?: boolean, organizer?: Organizer, checkBox?: boolean, pulldown?: boolean, clone?: boolean, cancelCurrentDrag?: boolean,
|
|
2365
|
-
constructor(config: { width?: number, height?: number, list?: any[], viewNum?: number, vertical?: boolean, currentSelected?: boolean, align?: string, valign?: string, labelAlign?: string, labelValign?: string, labelIndent?: number, labelIndentH?: boolean, labelIndentV?: boolean, indent?: number, spacing?: number, backgroundColor?: color, rollBackgroundColor?: color, downBackgroundColor?: color, selectedBackgroundColor?: color, backdropColor?: color, color?: color, rollColor?: color, downColor?: color, selectedColor?: color, borderColor?: color, borderWidth?: number, padding?: number, corner?: number | any[], swipe?: boolean, scrollBarActive?: boolean, scrollBarDrag?: boolean, scrollBarColor?: color, scrollBarAlpha?: number, scrollBarFade?: boolean, scrollBarH?: boolean, scrollBarV?: boolean, scrollBarOverlay?: boolean, slide?: boolean, slideFactor?: number, slideSnap?: boolean, slideSnapDamp?: number, shadowColor?: color, shadowBlur?: number, paddingH?: number, paddingV?: number, scrollWheel?: boolean, damp?: number, titleBar?: string | Label, titleBarColor?: color, titleBarBackgroundColor?: color, titleBarHeight?: number, draggable?: boolean, boundary?: {} | Boundary, onTop?: boolean, close?: boolean, closeColor?: color, excludeCustomTap?: boolean, organizer?: Organizer, checkBox?: boolean, pulldown?: boolean, clone?: boolean, cancelCurrentDrag?: boolean,
|
|
2366
|
+
constructor(config_or_width?: number, height?: number, list?: any[], viewNum?: number, vertical?: boolean, currentSelected?: boolean, align?: string, valign?: string, labelAlign?: string, labelValign?: string, labelIndent?: number, labelIndentH?: boolean, labelIndentV?: boolean, indent?: number, spacing?: number, backgroundColor?: color, rollBackgroundColor?: color, downBackgroundColor?: color, selectedBackgroundColor?: color, backdropColor?: color, color?: color, rollColor?: color, downColor?: color, selectedColor?: color, borderColor?: color, borderWidth?: number, padding?: number, corner?: number | any[], swipe?: boolean, scrollBarActive?: boolean, scrollBarDrag?: boolean, scrollBarColor?: color, scrollBarAlpha?: number, scrollBarFade?: boolean, scrollBarH?: boolean, scrollBarV?: boolean, scrollBarOverlay?: boolean, slide?: boolean, slideFactor?: number, slideSnap?: boolean, slideSnapDamp?: number, shadowColor?: color, shadowBlur?: number, paddingH?: number, paddingV?: number, scrollWheel?: boolean, damp?: number, titleBar?: string | Label, titleBarColor?: color, titleBarBackgroundColor?: color, titleBarHeight?: number, draggable?: boolean, boundary?: {} | Boundary, onTop?: boolean, close?: boolean, closeColor?: color, excludeCustomTap?: boolean, organizer?: Organizer, checkBox?: boolean, pulldown?: boolean, clone?: boolean, cancelCurrentDrag?: boolean, index?: number, resizeHandle?: boolean, resizeBoundary?: Boundary, resizeVisible?: boolean, drop?: boolean, dropTargets?: [List], dropColor?: color, dropThickness?: number, dropScrollSpeed?: number, dropReticleAlpha?: number, selectedIndex?: number, style?: boolean, group?: string, inherit?: {})
|
|
2367
|
+
constructor(config: { width?: number, height?: number, list?: any[], viewNum?: number, vertical?: boolean, currentSelected?: boolean, align?: string, valign?: string, labelAlign?: string, labelValign?: string, labelIndent?: number, labelIndentH?: boolean, labelIndentV?: boolean, indent?: number, spacing?: number, backgroundColor?: color, rollBackgroundColor?: color, downBackgroundColor?: color, selectedBackgroundColor?: color, backdropColor?: color, color?: color, rollColor?: color, downColor?: color, selectedColor?: color, borderColor?: color, borderWidth?: number, padding?: number, corner?: number | any[], swipe?: boolean, scrollBarActive?: boolean, scrollBarDrag?: boolean, scrollBarColor?: color, scrollBarAlpha?: number, scrollBarFade?: boolean, scrollBarH?: boolean, scrollBarV?: boolean, scrollBarOverlay?: boolean, slide?: boolean, slideFactor?: number, slideSnap?: boolean, slideSnapDamp?: number, shadowColor?: color, shadowBlur?: number, paddingH?: number, paddingV?: number, scrollWheel?: boolean, damp?: number, titleBar?: string | Label, titleBarColor?: color, titleBarBackgroundColor?: color, titleBarHeight?: number, draggable?: boolean, boundary?: {} | Boundary, onTop?: boolean, close?: boolean, closeColor?: color, excludeCustomTap?: boolean, organizer?: Organizer, checkBox?: boolean, pulldown?: boolean, clone?: boolean, cancelCurrentDrag?: boolean, index?: number, resizeHandle?: boolean, resizeBoundary?: Boundary, resizeVisible?: boolean, drop?: boolean, dropTargets?: [List], dropColor?: color, dropThickness?: number, dropScrollSpeed?: number, dropReticleAlpha?: number, selectedIndex?: number, style?: boolean, group?: string, inherit?: {} })
|
|
2366
2368
|
// ZIM Component Interface
|
|
2367
2369
|
// dispose():boolean // now added to Container, etc.
|
|
2368
2370
|
enabled: boolean
|
|
@@ -2375,7 +2377,7 @@ declare namespace zim {
|
|
|
2375
2377
|
last(): this
|
|
2376
2378
|
openAtLevel(level: number): this
|
|
2377
2379
|
openAtId(idNum: number): this
|
|
2378
|
-
toggle(): this
|
|
2380
|
+
toggle(state?: boolean, index?:number | [number]): this
|
|
2379
2381
|
static slider(label?: string | Label, min?: number, max?: number, val?: number, call?: Function, step?: number, obj?: any, property?: string, paddingLeft?: number, paddingRight?: number): Container
|
|
2380
2382
|
static checkBox(label?: string | Label, checked?: boolean, call?: Function, step?: number, obj?: any, property?: string, paddingLeft?: number, paddingRight?: number): Container
|
|
2381
2383
|
static colorPicker(label?: string | Label, color?: color, picker?: ColorPicker, call?: Function, step?: number, obj?: any, property?: string, paddingLeft?: number, paddingRight?: number): Container
|
|
@@ -2383,11 +2385,14 @@ declare namespace zim {
|
|
|
2383
2385
|
setCheck(index?: number, type?: boolean): this
|
|
2384
2386
|
setChecks(type?: boolean): this
|
|
2385
2387
|
getCheck(index?: number): boolean
|
|
2388
|
+
updateDrop(): boolean
|
|
2389
|
+
index:number
|
|
2386
2390
|
selectedIndex: number
|
|
2387
2391
|
selectedIndexPlusPosition: number
|
|
2388
2392
|
toggled: boolean
|
|
2389
2393
|
readonly selected: DisplayObject
|
|
2390
2394
|
readonly text: string
|
|
2395
|
+
value: any
|
|
2391
2396
|
readonly currentValue: string
|
|
2392
2397
|
readonly label: Label
|
|
2393
2398
|
readonly titleBarLabel: Label
|
|
@@ -2397,18 +2402,29 @@ declare namespace zim {
|
|
|
2397
2402
|
readonly length: number
|
|
2398
2403
|
readonly tabs: Tabs
|
|
2399
2404
|
readonly checkBoxes: [CheckBox]
|
|
2405
|
+
drop: boolean
|
|
2406
|
+
dropTargets: [List]
|
|
2407
|
+
dropColor: color
|
|
2408
|
+
readonly dropReticle: Rectangle
|
|
2409
|
+
readonly dropItem: DisplayObject
|
|
2410
|
+
readonly dropIndex: Number
|
|
2411
|
+
readonly dropList: List
|
|
2412
|
+
readonly dropNewIndex: number
|
|
2413
|
+
|
|
2400
2414
|
scrollEnabled: boolean
|
|
2401
2415
|
}
|
|
2402
2416
|
export class Stepper extends Container implements zimComponent {
|
|
2403
|
-
constructor(config_or_list?: string[] | number[], width?: number, backgroundColor?: color, borderColor?: color, borderWidth?: number, label?: Label, color?: color, vertical?: boolean, arrows?: number, corner?: number | any[], shadowColor?: color, shadowBlur?: number, loop?: boolean, display?: boolean, press?: boolean, hold?: boolean, holdDelay?: number, holdSpeed?: number, draggable?: boolean, dragSensitivity?: number, dragRange?: number, stepperType?: string, min?: number, max?: number, step?: number, step2?: number, arrows2?: boolean, arrows2Scale?: number, keyEnabled?: boolean, keyArrows?: number, rightForward?: boolean, downForward?: boolean, selectedIndex?: number, style?: boolean, group?: string, inherit?: {})
|
|
2404
|
-
constructor(config: { list?: string[] | number[], width?: number, backgroundColor?: color, borderColor?: color, borderWidth?: number, label?: Label, color?: color, vertical?: boolean, arrows?: number, corner?: number | any[], shadowColor?: color, shadowBlur?: number, loop?: boolean, display?: boolean, press?: boolean, hold?: boolean, holdDelay?: number, holdSpeed?: number, draggable?: boolean, dragSensitivity?: number, dragRange?: number, stepperType?: string, min?: number, max?: number, step?: number, step2?: number, arrows2?: boolean, arrows2Scale?: number, keyEnabled?: boolean, keyArrows?: number, rightForward?: boolean, downForward?: boolean, selectedIndex?: number, style?: boolean, group?: string, inherit?: {} })
|
|
2417
|
+
constructor(config_or_list?: string[] | number[], width?: number, backgroundColor?: color, borderColor?: color, borderWidth?: number, label?: Label, color?: color, vertical?: boolean, arrows?: number, corner?: number | any[], shadowColor?: color, shadowBlur?: number, loop?: boolean, display?: boolean, press?: boolean, hold?: boolean, holdDelay?: number, holdSpeed?: number, draggable?: boolean, dragSensitivity?: number, dragRange?: number, stepperType?: string, min?: number, max?: number, step?: number, step2?: number, arrows2?: boolean, arrows2Scale?: number, keyEnabled?: boolean, keyArrows?: number, rightForward?: boolean, downForward?: boolean, index?: number, value?: string | number, arrowColor?: color, arrowScale?: number, selectedIndex?: number, currentValue?: string | number, style?: boolean, group?: string, inherit?: {})
|
|
2418
|
+
constructor(config: { list?: string[] | number[], width?: number, backgroundColor?: color, borderColor?: color, borderWidth?: number, label?: Label, color?: color, vertical?: boolean, arrows?: number, corner?: number | any[], shadowColor?: color, shadowBlur?: number, loop?: boolean, display?: boolean, press?: boolean, hold?: boolean, holdDelay?: number, holdSpeed?: number, draggable?: boolean, dragSensitivity?: number, dragRange?: number, stepperType?: string, min?: number, max?: number, step?: number, step2?: number, arrows2?: boolean, arrows2Scale?: number, keyEnabled?: boolean, keyArrows?: number, rightForward?: boolean, downForward?: boolean, index?: number, value?: string | number, arrowColor?: color, arrowScale?: number, selectedIndex?: number, currentValue?: string | number, style?: boolean, group?: string, inherit?: {} })
|
|
2405
2419
|
// ZIM Component Interface
|
|
2406
2420
|
// dispose():boolean // now added to Container, etc.
|
|
2407
2421
|
enabled: boolean
|
|
2408
2422
|
// END ZIM Component Interface
|
|
2409
2423
|
next(): void
|
|
2410
2424
|
prev(): void
|
|
2425
|
+
index: number
|
|
2411
2426
|
selectedIndex: number
|
|
2427
|
+
value: string | number
|
|
2412
2428
|
currentValue: string | number
|
|
2413
2429
|
currentValueEvent: string | number
|
|
2414
2430
|
stepperArray: string[] | number[]
|
|
@@ -2427,12 +2443,13 @@ declare namespace zim {
|
|
|
2427
2443
|
keyFocus: boolean
|
|
2428
2444
|
}
|
|
2429
2445
|
export class Slider extends Container implements zimComponent {
|
|
2430
|
-
constructor(config_or_min?: number | zimVee, max?: number | zimVee, step?: number | zimVee, button?: Button, barLength?: number, barWidth?: number, barColor?: color, vertical?: boolean, useTicks?: boolean, tickColor?: color, tickStep?: number, semiTicks?: number, tickScale?: number, semiTickScale?: number, accentSize?: number, accentOffset?: number, accentColor?: color, accentBackgroundColor?: color, accentDifference?: number, sound?: boolean, inside?: boolean, keyArrows?: number, keyArrowsStep?: number, keyArrowsH?: boolean, keyArrowsV?: boolean, damp?: number,
|
|
2431
|
-
constructor(config: { min?: number | zimVee, max?: number | zimVee, step?: number | zimVee, button?: Button, barLength?: number, barWidth?: number, barColor?: color, vertical?: boolean, useTicks?: boolean, tickColor?: color, tickStep?: number, semiTicks?: number, tickScale?: number, semiTickScale?: number, accentSize?: number, accentOffset?: number, accentColor?: color, accentBackgroundColor?: color, accentDifference?: number, sound?: boolean, inside?: boolean, keyArrows?: number, keyArrowsStep?: number, keyArrowsH?: boolean, keyArrowsV?: boolean, damp?: number,
|
|
2446
|
+
constructor(config_or_min?: number | zimVee, max?: number | zimVee, step?: number | zimVee, button?: Button, barLength?: number, barWidth?: number, barColor?: color, vertical?: boolean, useTicks?: boolean, tickColor?: color, tickStep?: number, semiTicks?: number, tickScale?: number, semiTickScale?: number, accentSize?: number, accentOffset?: number, accentColor?: color, accentBackgroundColor?: color, accentDifference?: number, sound?: boolean, inside?: boolean, keyArrows?: number, keyArrowsStep?: number, keyArrowsH?: boolean, keyArrowsV?: boolean, damp?: number, value?: number | zimVee, expand?: number, expandV?: number, expandBar?: number, expandBarV?: number, useLabels?: boolean, labelMargin?: number, labelColor?: color, range?: boolean, rangeColor?: color, rangeWidth?: number, rangeMin?: number, rangeMax?: number, rangeAve?: number, addZero?: boolean, currentValue?: number, style?: boolean, group?: string, inherit?: {})
|
|
2447
|
+
constructor(config: { min?: number | zimVee, max?: number | zimVee, step?: number | zimVee, button?: Button, barLength?: number, barWidth?: number, barColor?: color, vertical?: boolean, useTicks?: boolean, tickColor?: color, tickStep?: number, semiTicks?: number, tickScale?: number, semiTickScale?: number, accentSize?: number, accentOffset?: number, accentColor?: color, accentBackgroundColor?: color, accentDifference?: number, sound?: boolean, inside?: boolean, keyArrows?: number, keyArrowsStep?: number, keyArrowsH?: boolean, keyArrowsV?: boolean, damp?: number, value?: number | zimVee, expand?: number, expandV?: number, expandBar?: number, expandBarV?: number, useLabels?: boolean, labelMargin?: number, labelColor?: color, range?: boolean, rangeColor?: color, rangeWidth?: number, rangeMin?: number, rangeMax?: number, rangeAve?: number, addZero?: boolean, currentValue?: number, style?: boolean, group?: string, inherit?: {} })
|
|
2432
2448
|
// ZIM Component Interface
|
|
2433
2449
|
// dispose():boolean // now added to Container, etc.
|
|
2434
2450
|
enabled: boolean
|
|
2435
2451
|
// END ZIM Component Interface
|
|
2452
|
+
value: number
|
|
2436
2453
|
currentValue: number
|
|
2437
2454
|
currentValueEvent: number
|
|
2438
2455
|
readonly min: number
|
|
@@ -2445,33 +2462,51 @@ declare namespace zim {
|
|
|
2445
2462
|
keyArrowsH: number
|
|
2446
2463
|
keyArrowsV: number
|
|
2447
2464
|
keyFocus: boolean
|
|
2465
|
+
readonly rangeBar: Rectangle
|
|
2466
|
+
readonly rangeSliderA: Slider
|
|
2467
|
+
readonly rangeSliderB: Slider
|
|
2468
|
+
readonly rangeButtonA: Button
|
|
2469
|
+
readonly rangeButtonB: Button
|
|
2470
|
+
rangeMin: number
|
|
2471
|
+
rangeMax: number
|
|
2472
|
+
rangeAve: number
|
|
2473
|
+
readonly rangeAmount: number
|
|
2448
2474
|
}
|
|
2449
2475
|
export class Selector extends Container implements zimComponent {
|
|
2450
|
-
constructor(config_or_tile?: Tile, borderColor?: color | zimVee, borderWidth?: number, backgroundColor?: color | zimVee, corner?: number | [any], dashed?: boolean | [number], padding?: number, paddingV?: number, speed?: number, diagonal?: boolean, dim?: boolean, multi?: boolean, keyArrows?: boolean, behind?: boolean, resizeScale?: number, selectedIndex?: number, style?: boolean, group?: string, inherit?: {})
|
|
2451
|
-
constructor(config: { tile?: Tile, borderColor?: color | zimVee, borderWidth?: number, backgroundColor?: color | zimVee, corner?: number | [any], dashed?: boolean | [number], padding?: number, paddingV?: number, speed?: number, diagonal?: boolean, dim?: boolean, multi?: boolean, keyArrows?: boolean, behind?: boolean, resizeScale?: number, selectedIndex?: number, style?: boolean, group?: string, inherit?: {} })
|
|
2476
|
+
constructor(config_or_tile?: Tile, borderColor?: color | zimVee, borderWidth?: number, backgroundColor?: color | zimVee, corner?: number | [any], dashed?: boolean | [number], padding?: number, paddingV?: number, speed?: number, diagonal?: boolean, dim?: boolean, multi?: boolean, keyArrows?: boolean, behind?: boolean, resizeScale?: number, index?: number, liveIndex?: boolean, selectedIndex?: number, style?: boolean, group?: string, inherit?: {})
|
|
2477
|
+
constructor(config: { tile?: Tile, borderColor?: color | zimVee, borderWidth?: number, backgroundColor?: color | zimVee, corner?: number | [any], dashed?: boolean | [number], padding?: number, paddingV?: number, speed?: number, diagonal?: boolean, dim?: boolean, multi?: boolean, keyArrows?: boolean, behind?: boolean, resizeScale?: number, index?: number, liveIndex?: boolean, selectedIndex?: number, style?: boolean, group?: string, inherit?: {} })
|
|
2452
2478
|
// ZIM Component Interface
|
|
2453
2479
|
// dispose():boolean // now added to Container, etc.
|
|
2454
2480
|
enabled: boolean
|
|
2455
2481
|
// END ZIM Component Interface
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2482
|
+
index: number
|
|
2483
|
+
selectedIndex: number
|
|
2484
|
+
liveIndex: boolean
|
|
2485
|
+
currentItem: DisplayObject
|
|
2486
|
+
noAnimate: boolean
|
|
2487
|
+
readonly downIndex: number
|
|
2488
|
+
readonly upIndex: number
|
|
2489
|
+
readonly downItem: DisplayObject
|
|
2490
|
+
readonly upItem: DisplayObject
|
|
2491
|
+
readonly lastIndex: number
|
|
2492
|
+
readonly lastItem: DisplayObject
|
|
2493
|
+
readonly selectedCol: number
|
|
2494
|
+
readonly selectedRow: number
|
|
2495
|
+
readonly lastCol: number
|
|
2496
|
+
readonly lastRow: number
|
|
2497
|
+
readonly tile: Tile
|
|
2498
|
+
readonly selector: Rectangle
|
|
2499
|
+
blendMode: string
|
|
2500
|
+
keyFocus: boolean
|
|
2467
2501
|
}
|
|
2468
2502
|
export class Dial extends Container implements zimComponent {
|
|
2469
|
-
constructor(config_or_min?: number, max?: number, step?: number, width?: number, backgroundColor?: color, indicatorColor?: color, indicatorScale?: number, indicatorType?: string, useTicks?: boolean, innerTicks?: boolean, tickColor?: color, tickStep?: number, semiTicks?: number, tickScale?: number, semiTickScale?: number, innerCircle?: boolean, innerScale?: number, innerColor?: color, inner2Color?: color, accentSize?: number, accentRadius?: number, accentColor?: color, accentBackgroundColor?: color, accentDifference?: number, sound?: boolean, linear?: boolean, gap?: number, limit?: boolean, keyArrows?: number, keyArrowsStep?: number, keyArrowsH?: boolean, keyArrowsV?: boolean, continuous?: boolean, continuousMin?: number, continuousMax?: number,
|
|
2470
|
-
constructor(config: { min?: number, max?: number, step?: number, width?: number, backgroundColor?: color, indicatorColor?: color, indicatorScale?: number, indicatorType?: string, useTicks?: boolean, innerTicks?: boolean, tickColor?: color, tickStep?: number, semiTicks?: number, tickScale?: number, semiTickScale?: number, innerCircle?: boolean, innerScale?: number, innerColor?: color, inner2Color?: color, accentSize?: number, accentRadius?: number, accentColor?: color, accentBackgroundColor?: color, accentDifference?: number, sound?: boolean, linear?: boolean, gap?: number, limit?: boolean, keyArrows?: number, keyArrowsStep?: number, keyArrowsH?: boolean, keyArrowsV?: boolean, continuous?: boolean, continuousMin?: number, continuousMax?: number,
|
|
2503
|
+
constructor(config_or_min?: number, max?: number, step?: number, width?: number, backgroundColor?: color, indicatorColor?: color, indicatorScale?: number, indicatorType?: string, useTicks?: boolean, innerTicks?: boolean, tickColor?: color, tickStep?: number, semiTicks?: number, tickScale?: number, semiTickScale?: number, innerCircle?: boolean, innerScale?: number, innerColor?: color, inner2Color?: color, accentSize?: number, accentRadius?: number, accentColor?: color, accentBackgroundColor?: color, accentDifference?: number, sound?: boolean, linear?: boolean, gap?: number, limit?: boolean, keyArrows?: number, keyArrowsStep?: number, keyArrowsH?: boolean, keyArrowsV?: boolean, continuous?: boolean, continuousMin?: number, continuousMax?: number, value?: number, useLabels?: boolean, labelMargin?: number, addZero?: boolean, currentValue?: number, style?: boolean, group?: string, inherit?: {})
|
|
2504
|
+
constructor(config: { min?: number, max?: number, step?: number, width?: number, backgroundColor?: color, indicatorColor?: color, indicatorScale?: number, indicatorType?: string, useTicks?: boolean, innerTicks?: boolean, tickColor?: color, tickStep?: number, semiTicks?: number, tickScale?: number, semiTickScale?: number, innerCircle?: boolean, innerScale?: number, innerColor?: color, inner2Color?: color, accentSize?: number, accentRadius?: number, accentColor?: color, accentBackgroundColor?: color, accentDifference?: number, sound?: boolean, linear?: boolean, gap?: number, limit?: boolean, keyArrows?: number, keyArrowsStep?: number, keyArrowsH?: boolean, keyArrowsV?: boolean, continuous?: boolean, continuousMin?: number, continuousMax?: number, value?: number, useLabels?: boolean, labelMargin?: number, addZero?: boolean, currentValue?: number, style?: boolean, group?: string, inherit?: {} })
|
|
2471
2505
|
// ZIM Component Interface
|
|
2472
2506
|
// dispose():boolean // now added to Container, etc.
|
|
2473
2507
|
enabled: boolean
|
|
2474
2508
|
// END ZIM Component Interface
|
|
2509
|
+
value: number
|
|
2475
2510
|
currentValue: number
|
|
2476
2511
|
currentValueEvent: number
|
|
2477
2512
|
readonly min: number
|
|
@@ -2492,12 +2527,13 @@ declare namespace zim {
|
|
|
2492
2527
|
keyFocus: boolean
|
|
2493
2528
|
}
|
|
2494
2529
|
export class Tabs extends Container implements zimComponent {
|
|
2495
|
-
constructor(config_or_width?: number, height?: number, tabs?: string[] | {}[], backgroundColor?: color, rollBackgroundColor?: color, downBackgroundColor?: color, selectedBackgroundColor?: color, selectedRollBackgroundColor?: color, color?: color, rollColor?: color, downColor?: color, selectedColor?: color, selectedRollColor?: color, vertical?: boolean, spacing?: number, currentEnabled?: boolean, currentSelected?: boolean, corner?: number | any[], base?: string, keyEnabled?: boolean, gradient?: number, gloss?: number, backing?: DisplayObject, rollBacking?: DisplayObject, wait?: string, waitTime?: number, waitBackgroundColor?: color, rollWaitBackgroundColor?: color, waitColor?: color, rollWaitColor?: color, waitModal?: boolean, waitEnabled?: boolean, backdropColor?: color, align?: number, valign?: number, labelAlign?: string, labelValign?: string, labelIndent?: number, labelIndentH?: number, labelIndentV?: number, indent?: number, useTap?: boolean, excludeCustomTap?: boolean,
|
|
2496
|
-
constructor(config: { width?: number, height?: number, tabs?: string[] | {}[], backgroundColor?: color, rollBackgroundColor?: color, downBackgroundColor?: color, selectedBackgroundColor?: color, selectedRollBackgroundColor?: color, color?: color, rollColor?: color, downColor?: color, selectedColor?: color, selectedRollColor?: color, vertical?: boolean, spacing?: number, currentEnabled?: boolean, currentSelected?: boolean, corner?: number | any[], base?: string, keyEnabled?: boolean, gradient?: number, gloss?: number, backing?: DisplayObject, rollBacking?: DisplayObject, wait?: string, waitTime?: number, waitBackgroundColor?: color, rollWaitBackgroundColor?: color, waitColor?: color, rollWaitColor?: color, waitModal?: boolean, waitEnabled?: boolean, backdropColor?: color, align?: number, valign?: number, labelAlign?: string, labelValign?: string, labelIndent?: number, labelIndentH?: number, labelIndentV?: number, indent?: number, useTap?: boolean, excludeCustomTap?: boolean,
|
|
2530
|
+
constructor(config_or_width?: number, height?: number, tabs?: string[] | {}[], backgroundColor?: color, rollBackgroundColor?: color, downBackgroundColor?: color, selectedBackgroundColor?: color, selectedRollBackgroundColor?: color, color?: color, rollColor?: color, downColor?: color, selectedColor?: color, selectedRollColor?: color, vertical?: boolean, spacing?: number, currentEnabled?: boolean, currentSelected?: boolean, corner?: number | any[], base?: string, keyEnabled?: boolean, gradient?: number, gloss?: number, backing?: DisplayObject, rollBacking?: DisplayObject, wait?: string, waitTime?: number, waitBackgroundColor?: color, rollWaitBackgroundColor?: color, waitColor?: color, rollWaitColor?: color, waitModal?: boolean, waitEnabled?: boolean, backdropColor?: color, align?: number, valign?: number, labelAlign?: string, labelValign?: string, labelIndent?: number, labelIndentH?: number, labelIndentV?: number, indent?: number, useTap?: boolean, excludeCustomTap?: boolean, index?: number, styleLabels?: boolean, keyWrap?: boolean, selectedIndex?: number, style?: boolean, group?: string, inherit?: {})
|
|
2531
|
+
constructor(config: { width?: number, height?: number, tabs?: string[] | {}[], backgroundColor?: color, rollBackgroundColor?: color, downBackgroundColor?: color, selectedBackgroundColor?: color, selectedRollBackgroundColor?: color, color?: color, rollColor?: color, downColor?: color, selectedColor?: color, selectedRollColor?: color, vertical?: boolean, spacing?: number, currentEnabled?: boolean, currentSelected?: boolean, corner?: number | any[], base?: string, keyEnabled?: boolean, gradient?: number, gloss?: number, backing?: DisplayObject, rollBacking?: DisplayObject, wait?: string, waitTime?: number, waitBackgroundColor?: color, rollWaitBackgroundColor?: color, waitColor?: color, rollWaitColor?: color, waitModal?: boolean, waitEnabled?: boolean, backdropColor?: color, align?: number, valign?: number, labelAlign?: string, labelValign?: string, labelIndent?: number, labelIndentH?: number, labelIndentV?: number, indent?: number, useTap?: boolean, excludeCustomTap?: boolean, index?: number, styleLabels?: boolean, keyWrap?: boolean, selectedIndex?: number, style?: boolean, group?: string, inherit?: {} })
|
|
2497
2532
|
// ZIM Component Interface
|
|
2498
2533
|
// dispose():boolean // now added to Container, etc.
|
|
2499
2534
|
enabled: boolean
|
|
2500
2535
|
// END ZIM Component Interface
|
|
2536
|
+
index: number
|
|
2501
2537
|
selectedIndex: number
|
|
2502
2538
|
selected: Button
|
|
2503
2539
|
tabs: any[]
|
|
@@ -2516,12 +2552,13 @@ declare namespace zim {
|
|
|
2516
2552
|
keyFocus: boolean
|
|
2517
2553
|
}
|
|
2518
2554
|
export class Pad extends Container implements zimComponent {
|
|
2519
|
-
constructor(config_or_width?: number, cols?: number, rows?: number, keys?: string[] | {}[], backgroundColor?: color, rollBackgroundColor?: color, downBackgroundColor?: color, selectedBackgroundColor?: color, selectedRollBackgroundColor?: color, color?: color, rollColor?: color, downColor?: color, selectedColor?: color, selectedRollColor?: color, spacing?: number, currentEnabled?: boolean, currentSelected?: boolean, corner?: number | any[], labelColor?: color, gradient?: number, gloss?: number, backing?: DisplayObject, rollBacking?: DisplayObject, wait?: string, waitTime?: number, waitBackgroundColor?: color, rollWaitBackgroundColor?: color, waitColor?: color, rollWaitColor?: color, waitModal?: boolean, waitEnabled?: boolean, selectedIndex?: number, style?: boolean, group?: string, inherit?: {})
|
|
2520
|
-
constructor(config: { width?: number, cols?: number, rows?: number, keys?: string[] | {}[], backgroundColor?: color, rollBackgroundColor?: color, downBackgroundColor?: color, selectedBackgroundColor?: color, selectedRollBackgroundColor?: color, color?: color, rollColor?: color, downColor?: color, selectedColor?: color, selectedRollColor?: color, spacing?: number, currentEnabled?: boolean, currentSelected?: boolean, corner?: number | any[], labelColor?: color, gradient?: number, gloss?: number, backing?: DisplayObject, rollBacking?: DisplayObject, wait?: string, waitTime?: number, waitBackgroundColor?: color, rollWaitBackgroundColor?: color, waitColor?: color, rollWaitColor?: color, waitModal?: boolean, waitEnabled?: boolean, selectedIndex?: number, style?: boolean, group?: string, inherit?: {} })
|
|
2555
|
+
constructor(config_or_width?: number, cols?: number, rows?: number, keys?: string[] | {}[], backgroundColor?: color, rollBackgroundColor?: color, downBackgroundColor?: color, selectedBackgroundColor?: color, selectedRollBackgroundColor?: color, color?: color, rollColor?: color, downColor?: color, selectedColor?: color, selectedRollColor?: color, spacing?: number, currentEnabled?: boolean, currentSelected?: boolean, corner?: number | any[], labelColor?: color, gradient?: number, gloss?: number, backing?: DisplayObject, rollBacking?: DisplayObject, wait?: string, waitTime?: number, waitBackgroundColor?: color, rollWaitBackgroundColor?: color, waitColor?: color, rollWaitColor?: color, waitModal?: boolean, waitEnabled?: boolean, index?: number, selectedIndex?: number, style?: boolean, group?: string, inherit?: {})
|
|
2556
|
+
constructor(config: { width?: number, cols?: number, rows?: number, keys?: string[] | {}[], backgroundColor?: color, rollBackgroundColor?: color, downBackgroundColor?: color, selectedBackgroundColor?: color, selectedRollBackgroundColor?: color, color?: color, rollColor?: color, downColor?: color, selectedColor?: color, selectedRollColor?: color, spacing?: number, currentEnabled?: boolean, currentSelected?: boolean, corner?: number | any[], labelColor?: color, gradient?: number, gloss?: number, backing?: DisplayObject, rollBacking?: DisplayObject, wait?: string, waitTime?: number, waitBackgroundColor?: color, rollWaitBackgroundColor?: color, waitColor?: color, rollWaitColor?: color, waitModal?: boolean, waitEnabled?: boolean, index?: number, selectedIndex?: number, style?: boolean, group?: string, inherit?: {} })
|
|
2521
2557
|
// ZIM Component Interface
|
|
2522
2558
|
// dispose():boolean // now added to Container, etc.
|
|
2523
2559
|
enabled: boolean
|
|
2524
2560
|
// END ZIM Component Interface
|
|
2561
|
+
index: number
|
|
2525
2562
|
selectedIndex: number
|
|
2526
2563
|
selected: Button
|
|
2527
2564
|
color: color
|
|
@@ -2555,12 +2592,13 @@ declare namespace zim {
|
|
|
2555
2592
|
readonly dirY: number
|
|
2556
2593
|
}
|
|
2557
2594
|
export class Radial extends Container implements zimComponent {
|
|
2558
|
-
constructor(config_or_labels?: string[] | number[] | Label[], size?: number, font?: string, startAngle?: number, totalAngle?: number, angles?: number[], flip?: boolean, shiftRadial?: number, icons?: DisplayObject[], rollIcons?: DisplayObject[], rotateIcons?: boolean, iconsShiftRadial?: number, height?: number, coreRadius?: number, coreColor?: number, backgroundColor?: color, rollBackgroundColor?: color, selectedBackgroundColor?: color, selectedRollBackgroundColor?: color, backdropColor?: color, color?: color, rollColor?: color, selectedColor?: color, selectedRollColor?: color, borderColor?: color, borderWidth?: number, gradient?: number, gap?: number, gapAsAngle?: boolean, spacing?: number, spacingInner?: number, spacingOuter?: number, currentEnabled?: boolean, currentSelected?: boolean, selectedIndex?: number, style?: boolean, group?: string, inherit?: {})
|
|
2559
|
-
constructor(config: { labels?: string[] | number[] | Label[], size?: number, font?: string, startAngle?: number, totalAngle?: number, angles?: number[], flip?: boolean, shiftRadial?: number, icons?: DisplayObject[], rollIcons?: DisplayObject[], rotateIcons?: boolean, iconsShiftRadial?: number, height?: number, coreRadius?: number, coreColor?: number, backgroundColor?: color, rollBackgroundColor?: color, selectedBackgroundColor?: color, selectedRollBackgroundColor?: color, backdropColor?: color, color?: color, rollColor?: color, selectedColor?: color, selectedRollColor?: color, borderColor?: color, borderWidth?: number, gradient?: number, gap?: number, gapAsAngle?: boolean, spacing?: number, spacingInner?: number, spacingOuter?: number, currentEnabled?: boolean, currentSelected?: boolean, selectedIndex?: number, style?: boolean, group?: string, inherit?: {} })
|
|
2595
|
+
constructor(config_or_labels?: string[] | number[] | Label[], size?: number, font?: string, startAngle?: number, totalAngle?: number, angles?: number[], flip?: boolean, shiftRadial?: number, icons?: DisplayObject[], rollIcons?: DisplayObject[], rotateIcons?: boolean, iconsShiftRadial?: number, height?: number, coreRadius?: number, coreColor?: number, backgroundColor?: color, rollBackgroundColor?: color, selectedBackgroundColor?: color, selectedRollBackgroundColor?: color, backdropColor?: color, color?: color, rollColor?: color, selectedColor?: color, selectedRollColor?: color, borderColor?: color, borderWidth?: number, gradient?: number, gap?: number, gapAsAngle?: boolean, spacing?: number, spacingInner?: number, spacingOuter?: number, currentEnabled?: boolean, currentSelected?: boolean, index?: number, selectedIndex?: number, style?: boolean, group?: string, inherit?: {})
|
|
2596
|
+
constructor(config: { labels?: string[] | number[] | Label[], size?: number, font?: string, startAngle?: number, totalAngle?: number, angles?: number[], flip?: boolean, shiftRadial?: number, icons?: DisplayObject[], rollIcons?: DisplayObject[], rotateIcons?: boolean, iconsShiftRadial?: number, height?: number, coreRadius?: number, coreColor?: number, backgroundColor?: color, rollBackgroundColor?: color, selectedBackgroundColor?: color, selectedRollBackgroundColor?: color, backdropColor?: color, color?: color, rollColor?: color, selectedColor?: color, selectedRollColor?: color, borderColor?: color, borderWidth?: number, gradient?: number, gap?: number, gapAsAngle?: boolean, spacing?: number, spacingInner?: number, spacingOuter?: number, currentEnabled?: boolean, currentSelected?: boolean, index?: number, selectedIndex?: number, style?: boolean, group?: string, inherit?: {} })
|
|
2560
2597
|
// ZIM Component Interface
|
|
2561
2598
|
// dispose():boolean // now added to Container, etc.
|
|
2562
2599
|
enabled: boolean
|
|
2563
2600
|
// END ZIM Component Interface
|
|
2601
|
+
index: number
|
|
2564
2602
|
selectedIndex: number
|
|
2565
2603
|
readonly text: string
|
|
2566
2604
|
readonly label: Label
|
|
@@ -2577,7 +2615,7 @@ declare namespace zim {
|
|
|
2577
2615
|
enabled: boolean
|
|
2578
2616
|
// END ZIM Component Interface
|
|
2579
2617
|
closeRings(): void
|
|
2580
|
-
|
|
2618
|
+
readonly index: number
|
|
2581
2619
|
readonly selectedLevel: number
|
|
2582
2620
|
readonly outerLevel: number
|
|
2583
2621
|
readonly outerMenu: Radial
|
|
@@ -2587,8 +2625,8 @@ declare namespace zim {
|
|
|
2587
2625
|
readonly core: Circle
|
|
2588
2626
|
}
|
|
2589
2627
|
export class ColorPicker extends Container implements zimComponent {
|
|
2590
|
-
constructor(config_or_width?: number, colors?: string | [color], cols?: number, spacing?: number, greyPicker?: boolean, alphaPicker?: boolean, startBackgroundColor?: color, draggable?: boolean, shadowColor?: color, shadowBlur?: number, buttonBar?: boolean, circles?: boolean, indicator?: boolean, backgroundColor?: color, keyArrows?: boolean,
|
|
2591
|
-
constructor(config: { width?: number, colors?: string | [color], cols?: number, spacing?: number, greyPicker?: boolean, alphaPicker?: boolean, startBackgroundColor?: color, draggable?: boolean, shadowColor?: color, shadowBlur?: number, buttonBar?: boolean, circles?: boolean, indicator?: boolean, backgroundColor?: color, keyArrows?: boolean,
|
|
2628
|
+
constructor(config_or_width?: number, colors?: string | [color], cols?: number, spacing?: number, greyPicker?: boolean, alphaPicker?: boolean, startBackgroundColor?: color, draggable?: boolean, shadowColor?: color, shadowBlur?: number, buttonBar?: boolean, circles?: boolean, indicator?: boolean, backgroundColor?: color, keyArrows?: boolean, index?: number, selectedColor?: string, dropperTarget?: DisplayObject, spectrumCollapse?: boolean, spectrumMode?: boolean, spectrumClose?: boolean, spectrumOk?: boolean, spectrumTitle?: string, tolerancePicker?: boolean, collapsed?: boolean, selectedIndex?: number, style?: boolean, group?: string, inherit?: {})
|
|
2629
|
+
constructor(config: { width?: number, colors?: string | [color], cols?: number, spacing?: number, greyPicker?: boolean, alphaPicker?: boolean, startBackgroundColor?: color, draggable?: boolean, shadowColor?: color, shadowBlur?: number, buttonBar?: boolean, circles?: boolean, indicator?: boolean, backgroundColor?: color, keyArrows?: boolean, index?: number, selectedColor?: string, dropperTarget?: DisplayObject, spectrumCollapse?: boolean, spectrumMode?: boolean, spectrumClose?: boolean, spectrumOk?: boolean, spectrumTitle?: string, tolerancePicker?: boolean, collapsed?: boolean, selectedIndex?: number, style?: boolean, group?: string, inherit?: {} })
|
|
2592
2630
|
// ZIM Component Interface
|
|
2593
2631
|
// dispose():boolean // now added to Container, etc.
|
|
2594
2632
|
enabled: boolean
|
|
@@ -2600,10 +2638,11 @@ declare namespace zim {
|
|
|
2600
2638
|
collapse(state?: boolean): this
|
|
2601
2639
|
updateDropperTarget(): this
|
|
2602
2640
|
selectedColor: color
|
|
2641
|
+
value: string
|
|
2603
2642
|
currentValue: string
|
|
2604
2643
|
currentValueEvent: string
|
|
2605
2644
|
readonly selectedAlpha: number
|
|
2606
|
-
readonly
|
|
2645
|
+
readonly index: number
|
|
2607
2646
|
readonly swatch: Rectangle
|
|
2608
2647
|
readonly swatchbackground: Shape
|
|
2609
2648
|
readonly swatchText: Label
|
|
@@ -2666,7 +2705,7 @@ declare namespace zim {
|
|
|
2666
2705
|
readonly labels: Label[]
|
|
2667
2706
|
readonly placeMenu: Container
|
|
2668
2707
|
selectedLabel: Label
|
|
2669
|
-
|
|
2708
|
+
index: number
|
|
2670
2709
|
keys: Container
|
|
2671
2710
|
numPad: NumPad
|
|
2672
2711
|
maxLength: number
|
|
@@ -2752,7 +2791,7 @@ declare namespace zim {
|
|
|
2752
2791
|
readonly pages: Pages
|
|
2753
2792
|
readonly button: Button
|
|
2754
2793
|
readonly indicator: Indicator
|
|
2755
|
-
readonly
|
|
2794
|
+
readonly index: number
|
|
2756
2795
|
readonly selected: DisplayObject
|
|
2757
2796
|
readonly lastSelected: DisplayObject
|
|
2758
2797
|
time: number
|
|
@@ -2766,8 +2805,8 @@ declare namespace zim {
|
|
|
2766
2805
|
readonly marqueeLoader: Queue
|
|
2767
2806
|
}
|
|
2768
2807
|
export class Carousel extends Container implements zimComponent {
|
|
2769
|
-
constructor(config_or_items?: [DisplayObject | string], viewNum?: number, time?: number, spacing?: number, backgroundColor?: color, backing?: DisplayObject, padding?: number, paddingH?: number, paddingV?: number, arrowLeft?: Arrow, arrowRight?: Arrow, arrowGap?: number, valign?: string, ease?: string, swipe?: boolean, remember?: string | boolean, selectedIndex?: number, style?: boolean, group?: string, inherit?: {})
|
|
2770
|
-
constructor(config: { items?: [DisplayObject | string], viewNum?: number, time?: number, spacing?: number, backgroundColor?: color, backing?: DisplayObject, padding?: number, paddingH?: number, paddingV?: number, arrowLeft?: Arrow, arrowRight?: Arrow, arrowGap?: number, valign?: string, ease?: string, swipe?: boolean, remember?: string | boolean, selectedIndex?: number, style?: boolean, group?: string, inherit?: {} })
|
|
2808
|
+
constructor(config_or_items?: [DisplayObject | string], viewNum?: number, time?: number, spacing?: number, backgroundColor?: color, backing?: DisplayObject, padding?: number, paddingH?: number, paddingV?: number, arrowLeft?: Arrow, arrowRight?: Arrow, arrowGap?: number, valign?: string, ease?: string, swipe?: boolean, remember?: string | boolean, index?: number, continuous?: boolean, selectedIndex?: number, style?: boolean, group?: string, inherit?: {})
|
|
2809
|
+
constructor(config: { items?: [DisplayObject | string], viewNum?: number, time?: number, spacing?: number, backgroundColor?: color, backing?: DisplayObject, padding?: number, paddingH?: number, paddingV?: number, arrowLeft?: Arrow, arrowRight?: Arrow, arrowGap?: number, valign?: string, ease?: string, swipe?: boolean, remember?: string | boolean, index?: number, continuous?: boolean, selectedIndex?: number, style?: boolean, group?: string, inherit?: {} })
|
|
2771
2810
|
// ZIM Component Interface
|
|
2772
2811
|
// dispose():boolean // now added to Container, etc.
|
|
2773
2812
|
enabled: boolean
|
|
@@ -2778,6 +2817,7 @@ declare namespace zim {
|
|
|
2778
2817
|
cycleClear(): this
|
|
2779
2818
|
disableArrows(): this
|
|
2780
2819
|
enableArrows(): this
|
|
2820
|
+
index: number
|
|
2781
2821
|
selectedIndex: number
|
|
2782
2822
|
readonly items: [DisplayObject]
|
|
2783
2823
|
readonly tile: Tile
|
|
@@ -2816,6 +2856,7 @@ declare namespace zim {
|
|
|
2816
2856
|
// END ZIM Component Interface
|
|
2817
2857
|
setFocus(type: boolean): this
|
|
2818
2858
|
resize(): this
|
|
2859
|
+
value: string
|
|
2819
2860
|
currentValue: string
|
|
2820
2861
|
text: string
|
|
2821
2862
|
focus: boolean
|