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

Function printAnimateDirective

  • printAnimateDirective(
        n: AnimateDirective,
        opts?: Partial<PrintOptions>,
    ): Result<AnimateDirective>
  • Parameters

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

    Returns Result<AnimateDirective>

    @NO_SIDE_EFFECTS

    See

    https://svelte.dev/docs/svelte/animate

    Example: with expression

    animate:name={expression}
    

    Example: shorthand - when variable - expression as identifier - name is same

    animate:name
    
    • Defined in pkgs/svelte-ast-print/src/template/mod.js:276

Settings

Member Visibility
Documentation
  • Loading...

Generated using TypeDoc