Allow In Relaxed CSP

lightningcommunity:allowInRelaxedCSP​

Enables a component to be used in a Relaxed CSP Experience Builder site.

For Use In

Experience Builder Sites

Add the lightningcommunity:allowInRelaxedCSP​ interface to enable this component to run in an Aura-based Experience Builder site that has Lightning Locker disabled. If this interface is not implemented, and Lightning Locker is disabled, your component won't be rendered in runtime, and won't be available in design time.

This example shows the markup required to add the lightningcommunity:allowInRelaxedCSP​ interface.

For more information, see Enable Third-Party Components to Run When Lightning Locker Is Off in the Experience Cloud Developer Guide.

No specifications to show