Instantiation options for a tooltip widget.

interface IOptions {
    anchor: Widget;
    bundle: JSONObject;
    editor: CodeEditor.IEditor;
    position?: IPosition;
    rendermime: IRenderMimeRegistry;
}

Properties

anchor: Widget

The anchor widget that the tooltip widget tracks.

bundle: JSONObject

The data that populates the tooltip widget.

The editor referent of the tooltip model.

position?: IPosition

Position at which the tooltip should be placed.

If not given, the position of the first character in the current token will be used.

The rendermime instance used by the tooltip model.