OptionalcanThe handler translated name
Is this enabled for the given mimes ?
OptionalgroupIdentifier to group handlers by. When opening a folder we'll check against all handlers that are enabled for the given group AND matches the group property.
OptionaliconOptional icon for the handler
Unique identifier for the handler
OptionalpreloadOptional function to preload data for the given node. This will be called for the previous and next nodes on opening a file to allow the handler to be faster when navigating.
The node to preload data for
A promise that resolves when the data is preloaded
The custom element tag name to use for this handler.
OptionalthemeViewer modal theme (one of 'dark', 'light', 'default')
Whether this handler supports editing the current file in place. When true the viewer shows an "Edit" action that toggles the handler's
editingprop (e.g. the image editor).