browser-sdk

Home > @datadog/browser-rum > RumGlobal > setViewContext

RumGlobal.setViewContext property

Set View Context.

Enable to manually set the context of the current view.

Signature:

setViewContext: (context: Context) => void;