Interface OpenHandler

OpenHandler should be implemented to provide a new opener.

interface OpenHandler {
    iconClass?: string;
    id: string;
    label?: string;
    canHandle(uri, options?): MaybePromise<number>;
    open(uri, options?): MaybePromise<undefined | object>;
}

Implemented by

Properties

Methods

Properties

iconClass?: string

A css icon class of this handler.

id: string

A unique id of this handler.

label?: string

A human-readable name of this handler.

Methods