BiCssLoader
This class loads and executes a CSS file
This class extends
BiAbstractLoader
and therefore all methods and fields available for
BiAbstractLoader
are also available for
BiCssLoader
.
Constructor
new
BiCssLoader
(
)
Parameters
No parameters.
Properties
| Name | Type | get | set | Descripton |
error |
Boolean |
![]() |
Whether any error occured when loading the file | |
loaded |
Boolean |
![]() |
Whether the file has been loaded | |
loading |
Boolean |
![]() |
Whether a file is currently being loaded | |
uri |
|
![]() |
![]() |
The URI (location) of the file to load. If this is set to a string a
new URI is created from that string relative to the
ADF path. |
Methods
| Name | Description |
abort |
Stops the loading of the current file |
load |
Does an HTTP GET to recieve the file |
Events
| Name | Type | Bubbles | Descripton |
load |
|
Fires when the file has been loaded |
Static Methods
| Name | Description |
addCss |
Executes a string containing javascript in the global scope |
Static Fields
None.
Remarks
Method Details
abort
Stops the loading of the current file
Syntax
object.abort ( )
Parameters
No arguments.
Return Type
void
load
Does an HTTP GET to recieve the file
Syntax
object.load
(
[
oUri
]
)
Parameters
| Name | Type | Optional | Default | Descripton |
oUri |
|
![]() |
The location of the file. If this is a string a new URI is created from that string relative to the
ADF path. |
Return Type
void
Static Method Details
addCss
Executes a string containing javascript in the global scope
Syntax
BiCssLoader
.
addCss
(
s
)
Parameters
| Name | Type | Optional | Default | Descripton |
s |
String |
The javascript code to execute |
Return Type
void
