Skip to content

Commit c3b87aa

Browse files
authored
Merge pull request #2052 from plone/thet/cmfplone-4274-depends-star
Resource registry: Document the `*` depends value.
2 parents 76359f2 + ca17eb4 commit c3b87aa

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

docs/classic-ui/static-resources.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ The following attributes are available for registering a static resource.
102102

103103
The `depends` attribute may be assigned the value of `all`, making this bundle render last, after all other bundles.
104104
The `all` value lets you load CSS files after the automatically added theme resources and override CSS declarations from your own custom CSS files.
105+
`*` is an alias for `all`, so you can also use that.
105106

106107
If you set multiple bundles to `all`, then these bundles will render in alphabetical order by its name.
107108

@@ -115,6 +116,11 @@ The following attributes are available for registering a static resource.
115116
`depends` value of `all`.
116117
```
117118

119+
```{versionadded} Plone 6.2.0a2
120+
`depends` value of `*`.
121+
Note: The `*` value was present in Plone < 6.
122+
```
123+
118124
`load_async`
119125
: Boolean.
120126
Whether the bundle should be loaded asynchronously or not.

0 commit comments

Comments
 (0)