@amcharts/amcharts4
Version:
amCharts 4
79 lines (78 loc) • 2.17 kB
TypeScript
/**
* Resize button module.
*/
/**
* ============================================================================
* IMPORTS
* ============================================================================
* @hidden
*/
import { Button, IButtonProperties, IButtonAdapters, IButtonEvents } from "./Button";
import { Orientation } from "../defs/Orientation";
/**
* ============================================================================
* REQUISITES
* ============================================================================
* @hidden
*/
/**
* Defines properties for [[ResizeButton]].
*/
export interface IResizeButtonProperties extends IButtonProperties {
}
/**
* Defines events for [[ResizeButton]] for [[ResizeButton]].
*/
export interface IResizeButtonEvents extends IButtonEvents {
}
/**
* Defines adapters for [[ResizeButton]].
*
* @see {@link Adapter}
*/
export interface IResizeButtonAdapters extends IButtonAdapters, IResizeButtonProperties {
}
/**
* ============================================================================
* MAIN CLASS
* ============================================================================
* @hidden
*/
/**
* Creates a draggable resize/grip button.
*
* @see {@link IResizeButtonEvents} for a list of available events
* @see {@link IResizeButtonAdapters} for a list of available Adapters
*/
export declare class ResizeButton extends Button {
/**
* Defines available properties.
*/
_properties: IResizeButtonProperties;
/**
* Defines available adapters.
*/
_adapter: IResizeButtonAdapters;
/**
* Defines available events.
*/
_events: IResizeButtonEvents;
/**
* Orientation of the resize direction.
*
* @deprecated Not used
*/
protected _orientation: Orientation;
/**
* Constructor
*/
constructor();
/**
* Use for setting of direction (orientation) of the resize button.
*
* Available options: "horizontal", "vertical".
*
* @param value Orientation
*/
orientation: Orientation;
}