1.2.4 • Published 4 years ago

@ppci/custom-dialog v1.2.4

Weekly downloads
18
License
ISC
Repository
-
Last release
4 years ago

Dialog

Table of contents

Installation

NPM

npm i @ppci/custom-dialog

// Polyfill: https://lit-element.polymer-project.org/guide/use#polyfills
npm i --save-dev @webcomponents/webcomponentsjs

Usage

Javascript

import '@ppci/custom-dialog'

Browser

<!-- Default -->
<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci/custom-dialog/builds/index.min.js" />

<!-- Legacy -->
<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci/custom-dialog/builds/legacy.min.js" />

<!-- Component -->
<custom-dialog
  @close=${Function}
  ?loading=${Boolean}
  ?open=${Boolean}
>
  <div>Place dialog content here</div>
</custom-dialog>

Styling

custom-dialog {
  --theme-dialog-backdrop: white;
}

Properties

Events

1.2.4

4 years ago

1.2.3

5 years ago

1.2.2

5 years ago

1.2.0

5 years ago

1.1.11

5 years ago

1.1.10

5 years ago

1.1.9

5 years ago

1.1.8

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.3

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago