Skip to main content

Base Component

This are the base methods that implement some of the components of the visu module.

setTop()​

Sets the top position of the component. This string can specify the position using either pixels or a percentage.

setTop(top: string): void;

getTop()​

Gets the top position of the component.

getTop(): string;

setLeft()​

Sets the left position of the component. This string can specify the position using either pixels or a percentage.

setLeft(left: string): void;

getLeft()​

Gets the left position of the component.

getLeft(): string;

setHeight()​

Sets the height of the component. This string can specify the position using either pixels or a percentage.

setHeight(height: string): void;

getHeight()​

Gets the height of the component.

getHeight(): string;

setWidth()​

Sets the width of the component. This string can specify the position using either pixels or a percentage.

setWidth(width: string): void;

getWidth()​

Gets the width of the component.

getWidth(): string;

setHidden()​

Sets the hidden status of the component

setHidden(hidden: boolean): void;