@firefly-elements/firefly-dialog

0.5.1 • Public • Published

<firefly-dialog>

a visual component that displays a form used to create new records.

#Installation

npm install --save @firefly/firefly-dialog

In an HTML file

<html>
   <head>
      <script type="module">
         import '@firefly/firefly-dialog';
      </script>
   </head>
   <body>
      <firefly-dialog>
      </firefly-dialog>
   </body>
</html>
</body>
</html>

In Polymer3

import {PolymerElement, html} from '@polymer/polymer';
import '@firefly/firefly-dialog';

class SampleElement extends PolymerElement {
  static get template() {
    return html`
    <firefly-dialog></firefly-dialog>
    `;
  }
}
customElements.define('sample-element', SampleElement);

Running the demo locally

$ polymer serve --open

Running Tests

$ polymer test

Your application is already set up to be tested via web-component-tester. Run polymer test to run your application's test suite locally.

Package Sidebar

Install

npm i @firefly-elements/firefly-dialog

Weekly Downloads

0

Version

0.5.1

License

BSD-3-Clause

Unpacked Size

13.8 kB

Total Files

10

Last publish

Collaborators

  • aksuyash