Documentation
    Preparing search index...

    Function renderNappletCspMeta

    • Render the shell's validated CSP meta element.

      Parameters

      • options: NappletCspOptions = {}

        Explicit connection grants and directive replacements.

      • lockTrustedTypes: boolean = false

      Returns string

      An attribute-escaped CSP meta element for the first position in head.

      const meta = renderNappletCspMeta({ directives: { 'img-src': ['data:'] } });