@swc-uxp-wrappers/dialog

2.0.0 • Public • Published

Description



This is UXP wrapper for `@spectrum-web-components/dialog` package
  • For detailed README regarding @spectrum-web-components/dialog refer this link

  • Detailed specification regarding @spectrum-web-components/dialog support in UXP through @swc-uxp-wrappers/dialog refer this link

Usage



yarn add @swc-uxp-wrappers/dialog

Import the side effectful registration of <sp-dialog> via:

import '@swc-uxp-wrappers/dialog/sp-dialog.js';

When looking to leverage the Dialog base class as a type and/or for extension purposes, do so via:

import { Dialog } from '@swc-uxp-wrappers/dialog';

Example



<sp-dialog></sp-dialog>

Dependencies (4)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @swc-uxp-wrappers/dialog

    Weekly Downloads

    54

    Version

    2.0.0

    License

    Apache-2.0

    Unpacked Size

    13.2 kB

    Total Files

    13

    Last publish

    Collaborators

    • inasirhussain
    • ledzepfan
    • bhatiapankaj