Type alias TBehaviorOptions

TBehaviorOptions: {
    behaviors?: {
        gesture?: {
            insert?: InsertAction;
            strikeThrough?: StrikeThroughAction;
            surround?: SurroundAction;
        };
        grabber?: IGrabber;
        menu?: {
            action?: OIMenuAction;
            intention?: OIMenuIntention;
            style?: OIMenuStyle;
        };
        recognizer?: RestRecognizer | WSRecognizer | OIRecognizer;
        snap?: {
            angle?: number;
            element?: boolean;
            grid?: boolean;
        };
    };
    configuration: TConfiguration;
    fontStyle?: {
        size?: number;
        weight?: "bold" | "normal";
    };
    logger?: TLoggerConfiguration;
    penStyle?: TStyle;
    theme?: TTheme;
}

Type declaration

Remarks

behaviors.menu, behaviors.gesture and fontStyle are only usable in the case of offscreen

Generated using TypeDoc