Browse Source

Update assets docs with events

pull/3795/head
Artur Arseniev 5 years ago
parent
commit
686ac2c34f
  1. 2
      src/asset_manager/index.js

2
src/asset_manager/index.js

@ -13,6 +13,7 @@
* ```js
* const assetManager = editor.AssetManager;
* ```
*
* ## Available Events
* * `asset:open` - Asset Manager opened.
* * `asset:close` - Asset Manager closed.
@ -23,6 +24,7 @@
* * `asset:upload:error` - On any error in upload, passes the error as an argument.
* * `asset:upload:response` - On upload response, passes the result as an argument.
* * `asset` - Catch-all event for all the events mentioned above. An object containing all the available data about the triggered event is passed as an argument to the callback.
* * `asset:custom` - Event for handling custom Asset Manager UI.
*
* ## Methods
* * [open](#open)

Loading…
Cancel
Save