class anychart.core.gantt.Overlay Improve this Doc
Extends: anychart.core.Base
Overlay element class.
Methods Overview
Specific settings | |
className() | Name of DIV class. |
enabled() | Enabled state. |
id() | DIV identifier. |
Miscellaneous | |
getElement() | Gets the overlay DOM element. |
Methods Description
className
Getter for the name of DIV class.
Returns:
string - The name of DIV class. See listing
var id = overlay.className();
Setter for the name of DIV class.
Params:
Name | Type | Description |
---|---|---|
name | string | Class name to set. |
Returns:
anychart.core.gantt.Overlay - Self instance for method chaining.Try it:
enabled
Getter for the enabled state.
Returns:
boolean | null - Enabled state. See listing
var state = overlay.enabled();
Setter for the enabled state.
Params:
Name | Type | Description |
---|---|---|
enabled | boolean | Enabled state. |
Returns:
anychart.core.gantt.Overlay - Self instance for method chaining.Try it:
getElement
id
Setter for the DIV identifier.
Params:
Name | Type | Description |
---|---|---|
id | string | DIV identifier to set. |
Returns:
anychart.core.gantt.Overlay - Self instance for method chaining.Try it: