Interface UIScrollElement

There are 12 types of UI elements given by Inner Core, and you can also create your custom ones. Each element type has it's own specific description object. These description objects are all inherited from this BasicElementDescription. It means that each element must have coords on the GUI by X, Y, and additionally Z axis, and also you can specify how the element will behave when touched, in clicker object (optional).

interface UIScrollElement {
    bindingObject?: any;
    bindingProperty?: string;
    bitmapBg?: string;
    bitmapBgHover?: string;
    bitmapHandle?: BitmapTypes;
    bitmapHandleHover?: BitmapTypes;
    clicker?: UIClickEvent;
    configValue?: ConfigValue;
    divider?: number;
    isInt?: boolean;
    length?: number;
    max?: number;
    min?: number;
    onNewValue?: ((result: number, container: UiAbstractContainer, element: UIScrollElement) => void);
    ratio?: number;
    type: "scroll";
    width?: number;
    x?: number;
    y?: number;
    z?: number;
}

Hierarchy (view full)

Properties

bindingObject?: any
bindingProperty?: string
bitmapBg?: string
bitmapBgHover?: string
bitmapHandle?: BitmapTypes
bitmapHandleHover?: BitmapTypes
clicker?: UIClickEvent
configValue?: ConfigValue
divider?: number
isInt?: boolean
length?: number
max?: number
min?: number
onNewValue?: ((result: number, container: UiAbstractContainer, element: UIScrollElement) => void)
ratio?: number
type
width?: number
x?: number
y?: number
z?: number

Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.