0.5.1 • Published 5 years ago
@firefly-elements/firefly-dialog v0.5.1
<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.