Set: { immediateElementUpdate?: boolean }

Options for TJSPosition.set.

Type declaration

  • OptionalimmediateElementUpdate?: boolean

    Perform the update to position state immediately. Callers can specify to immediately update the associated element. This is useful if set is called from requestAnimationFrame / rAF. Library integrations like GSAP invoke set from rAF.