An initialized {@link uiExtensionsSDK.DDClient}. This should be the result of invoking {@link uiExtensionsSDK.init}.
The {@link uiExtensionsSDK.Context}, if it exists.
Returns the current value of a single custom widget option. This will be updated whenever the options change.
This hook abstracts away the intricacies of keeping options up to date.
An initialized {@link uiExtensionsSDK.DDClient}. This should be the result of invoking {@link uiExtensionsSDK.init}.
The option name to look for.
A function for parsing the option value.
The option value (if it exists).
Returns the current value of a single custom widget option that is expected to be a {@link boolean}. This will be updated whenever the options change.
This hook abstracts away the intricacies of keeping up to date with an option.
An initialized {@link uiExtensionsSDK.DDClient}. This should be the result of invoking {@link uiExtensionsSDK.init}.
The option name to look for.
The option value (if it exists).
Returns the current value of a single custom widget option that is expected to be a {@link string}. This will be updated whenever the options change.
This hook abstracts away the intricacies of keeping up to date with an option.
An initialized {@link uiExtensionsSDK.DDClient}. This should be the result of invoking {@link uiExtensionsSDK.init}.
The option name to look for.
The option value (if it exists).
Returns the current value of a specific template variable. This will be updated whenever the template variable changes.
This hook abstracts away the intricacies of keeping template variables up to date.
An initialized {@link uiExtensionsSDK.DDClient}. This should be the result of invoking {@link uiExtensionsSDK.init}.
The name of the template variable to get the value of.
The value of the template variable if it exists.
Generated using TypeDoc
Returns a {@link uiExtensionsSDK.Context}. Will be updated whenever the {@link uiExtensionsSDK.Context} changes.
This hook abstracts away the intricacies of keeping the {@link uiExtensionsSDK.Context} up to date.
This can be used like: