Julia Alberici
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
docs/modules/Assets.md
|
|
|
@ -211,7 +211,7 @@ If you need to manage your assets programmatically you have to use its [APIs][AP |
|
|
|
const am = editor.AssetManager; |
|
|
|
``` |
|
|
|
|
|
|
|
First of all, it's worth nothing that Asset Manager keeps 2 collections of assets: |
|
|
|
First of all, it's worth noting that Asset Manager keeps 2 collections of assets: |
|
|
|
* **global** - which is just the one with all available assets, you can get it with `am.getAll()` |
|
|
|
* **visible** - this is the collection which is currently rendered by the Asset Manager, you get it with `am.getAllVisible()` |
|
|
|
|
|
|
|
@ -590,4 +590,4 @@ am.addType('image', { |
|
|
|
For a complete list of available events, you can check it [here](/api/assets.html#available-events). |
|
|
|
|
|
|
|
|
|
|
|
[API-Asset-Manager]: </api/assets.html> |
|
|
|
[API-Asset-Manager]: </api/assets.html> |
|
|
|
|