• Preparing search index...
  • The search index is not available
Documentation
  • Documentation
  • svelte-ast-print
  • svelte-ast-print/template
  • printSnippetBlock

Function printSnippetBlock

  • printSnippetBlock(
        n: SnippetBlock,
        opts?: Partial<PrintOptions>,
    ): Result<SnippetBlock>
  • Parameters

    • n: SnippetBlock
    • Optionalopts: Partial<PrintOptions> = {}

    Returns Result<SnippetBlock>

    @NO_SIDE_EFFECTS

    See

    https://svelte.dev/docs/svelte/snippet

    Example: pattern

    {#snippet expression(parameters)}...{/snippet}
    
    • Defined in pkgs/svelte-ast-print/src/template/mod.js:737

Settings

Member Visibility
Documentation
  • Loading...

Generated using TypeDoc