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

Function print_self_closing_el

  • print_self_closing_el<N extends ElementLike>(
        params: {
            attr_printer: (
                n: AttributeLike,
                opts?: Partial<PrintOptions>,
            ) => Result<AttributeLike>;
            n: N;
            opts: Partial<PrintOptions>;
        },
    ): Result<N>
    Internal

    @NO_SIDE_EFFECTS

    Type Parameters

    • N extends ElementLike

    Parameters

    • params: {
          attr_printer: (
              n: AttributeLike,
              opts?: Partial<PrintOptions>,
          ) => Result<AttributeLike>;
          n: N;
          opts: Partial<PrintOptions>;
      }
      • attr_printer: (n: AttributeLike, opts?: Partial<PrintOptions>) => Result<AttributeLike>
      • n: N
      • opts: Partial<PrintOptions>

    Returns Result<N>

    • Defined in pkgs/svelte-ast-print/src/_internal/template/element.ts:132

Settings

Member Visibility
Documentation
  • Loading...

Generated using TypeDoc