@maxgraph/core
    Preparing search index...

    Function linkInvoke

    • Adds a hyperlink to the specified parent that invokes the specified function on the editor passing along the specified argument. The function name is the name of a function of the editor instance, not an action name.

      Parameters

      • parent: Element

        DOM node to contain the new link.

      • text: string

        String that is used as the link label.

      • editor: Editor

        instance to execute the function on.

      • functName: string

        String that represents the name of the function.

      • arg: any

        Object that represents the argument to the function.

      • pad: number = 0

        Optional left-padding for the link. Default is 0.

      Returns HTMLSpanElement