@shakrmedia/editor-sdk ShakrEditorGetMediaEvent > callback

ShakrEditorGetMediaEvent.callback property#

Callback function which should be called with searched media results and total page number.

Signature:
callback: (res: {
media_items: ShakrEditorMedia[];
page_total: number;
}) => void;