NuxtLegoNuxtLego

Preview

Preview any element in slot.

Anatomy

<template>
  <LegoPreview>
    <!-- Background when modal is open -->
    <LegoPreviewDialog />

    <slot />
  </LegoPreview>
</template>

API Reference

Root

PropDefaultTypesDescription
duration500numberDuration for the transition to open/close.
maxWidth1000numberMax width for the element to scale.