class anychart.ui.Preloader Improve this Doc
Preloader.
Methods Overview
| Specific settings | |
| decorate() | Decorates the element for the preloader. |
| render() | Renders the preloader. |
| visible() | Getter for the visibility of the preloader. |
Methods Description
decorate
Decorates the element for the preloader.
Detailed description
Assigns transmitted preloader element.
Params:
| Name | Type | Description |
|---|---|---|
| element | Element | Element to decorate. |
Try it:
render
Renders the preloader.
Params:
| Name | Type | Description |
|---|---|---|
| parentElement | Element | Element to render the preloader into. |
Try it:
visible
Getter for the visibility of the preloader.
Returns:
boolean - Returns true if the preloader is visible. See listing
var visibleState = preloader.visible();
Setter for the visibility of the preloader.
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | boolean | false | Whether the preloader should be visible. |
Returns:
anychart.ui.Preloader - Self instance for method chaining.Try it:
