@shakrmedia/editor-sdk ShakrEditorMedia
ShakrEditorMedia interface
Media object interface which should be returned by 'get_media' event or 'open_media_library' event event listener's callback.
Signature:export interface ShakrEditorMedia
Properties
Property | Type | Description |
---|---|---|
id | string | Unique identifier of the media. This identifier should be unique in a library that has the media. |
thumb | string | Thumbnail url of the media. |
title | string | Title of the media. This will be displayed in Shakr Editor user interface. |
url | string | Original url of the media. |