Function: setPrefixedStyle

Adds the given style with the standard name and an optional vendor prefix for the current browser.

mxUtils.setPrefixedStyle(node.style, 'transformOrigin', '0% 0%');
  • Parameters

    • style: CSSStyleDeclaration
    • name: string
    • value: string

    Returns void