Interface InitialSystem
interface InitialSystem {
constrain: boolean;
element: HTMLElement;
enabled: boolean;
height: number;
get locked(): boolean;
width: number;
getLeft(width: number): number;
getTop(height: number): number;
setDimension(width: number, height: number): void;
}
constrain: boolean;
element: HTMLElement;
enabled: boolean;
height: number;
get locked(): boolean;
width: number;
getLeft(width: number): number;
getTop(height: number): number;
setDimension(width: number, height: number): void;
}
Hierarchy
- SystemBase
- InitialSystem (view full)
Accessors
constrain
- get constrain(): boolean
Returns boolean
The current constrain state.
- set constrain(constrain): void
Parameters
- constrain: boolean
Set constrain state.
Returns void
- constrain: boolean
element
- get element(): HTMLElement
Returns HTMLElement
Target element.
- set element(element): void
Parameters
- element: HTMLElement
Set target element.
Returns void
- element: HTMLElement
enabled
- get enabled(): boolean
Returns boolean
Get enabled state.
- set enabled(enabled): void
Parameters
- enabled: boolean
Set enabled state.
Returns void
- enabled: boolean
height
- get height(): number
Returns number
Get manual height.
- set height(height): void
Parameters
- height: number
Set manual height.
Returns void
- height: number
locked
- get locked(): boolean
Returns boolean
Get locked state.
width
- get width(): number
Returns number
Get manual width.
- set width(width): void
Parameters
- width: number
Set manual width.
Returns void
- width: number
Provides helper functions to initially position an element.