public interface ClientResourceOperation
Modifier and Type | Field and Description |
---|---|
static OperationType<ClientResourceOperation> |
TYPE
Operation type providing means to load resources on the client-side.
|
Modifier and Type | Method and Description |
---|---|
void |
addScriptUrl(String url)
Add a relative or absolute javascript url to load on
perform(boolean) . |
void |
addStylesheetUrl(String url)
Add a relative or absolute stylesheet url to load on
perform(boolean) . |
void |
perform(boolean waitForResources)
Initiates the loading of the previously specified resources.
|
static final OperationType<ClientResourceOperation> TYPE
void addScriptUrl(@NotNull String url)
perform(boolean)
.
The base-url for relative urls is the webedit webapp context path (e.g. /fs5webedit/).url
- the javascript url to load on the client-side.void addStylesheetUrl(@NotNull String url)
perform(boolean)
.
The base-url for relative urls is the webedit webapp context path (e.g. /fs5webedit/).url
- the stylesheet url to load on the client-side.void perform(boolean waitForResources)
waitForResources
- true
if this method should wait until the resource loading process has been completed,
false
if this method should return immediately initiating the loading processCopyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210