Source: factory.core/extend.delegate/ObjResource.py
Web resource management mixin.
Provides methods for adding CSS and JavaScript
resources to a page, with CDN mapping, alias
resolution, and optional minification.
...
| Method | Signature | Description |
|---|---|---|
| get_parent_name | get_parent_name() -> str |
Return the command name of the parent |
| add_resource_css | add_resource_css(css_file_name: str) -> str |
Add a CSS resource to the page. |
| add_resource_script | add_resource_script(script_name: str) -> str |
Add a JavaScript resource to the page. |