@riot-material/rm-dialog
TypeScript icon, indicating that this package has built-in type declarations

1.3.0 • Public • Published

dialog component based on Material Design for riot-material

Installation

You can install it via nodejs

npm install @riot-material/rm-button

or download one of the bundled file

/**
 * `dist/index.js`
 */
requirejs.config({
  paths: {
      "@riot-material/rm-dialog": "path/to/@riot-material/rm-dialog",
   },
});

require(['@riot-material/rm-dialog'], function (DialogComponent) {
    // ...
});

/**
 * `dist/index.es.js`,
 * npm installation
 */
import DialogComponent from "@riot-material/rm-dialog";

otherwise you can include the script in your project html

<script src="@riot-material/rm-dialog/index.js" />

and access it via

window.riotMaterial.components.dialog;

Properties

Methods

open

close

Slots

title

content

actions

Readme

Keywords

none

Package Sidebar

Install

npm i @riot-material/rm-dialog

Weekly Downloads

2

Version

1.3.0

License

MIT

Unpacked Size

25.1 kB

Total Files

10

Last publish

Collaborators

  • kal-aster