1.3.0 • Published 3 years ago

@riot-material/rm-dialog v1.3.0

Weekly downloads
4
License
MIT
Repository
-
Last release
3 years ago

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

1.3.0

3 years ago

1.2.0

3 years ago

1.2.1

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago