@logo-elements/dialog
v23.0.0
Published
A web component for presenting information and user interface elements in an overlay.
Downloads
16
Readme
@logo-elements/dialog
A web component for presenting information and user interface elements in an overlay.
<logo-elements-dialog opened></logo-elements-dialog>
<script>
const dialog = document.querySelector('logo-elements-dialog');
dialog.renderer = function (root, dialog) {
root.textContent = 'Sample dialog';
};
</script>
Installation
Install the component:
npm i @logo-elements/dialog -s
Once installed, import the component in your application:
import '@logo-elements/dialog';