1.4.0 • Published 3 years ago

@riot-material/rm-list-item v1.4.0

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

list item component based on Material Design for riot-material

Installation

You can install it via nodejs

npm install @riot-material/rm-list-item

or download one of the bundled file

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

require(['@riot-material/rm-list-item'], function (ListItemComponent) {
    // ...
});

/**
 * `dist/index.es.js`
 * npm installation
 */
import ListItemComponent from "@riot-material/rm-list-item";

otherwise you can include the script in your project html

<script src="@riot-material/rm-list-item/index.js" />
<!-- or -->
<script src="@riot-material/rm-list-item/index+libs.js" />

and access it via

window.riotMaterial.components.listItem;

Note: all the bundled file having +libs contain also the dependencies needed by the component, which, in this case, are:
@riot-material/ripple
Be sure to have them when installing manually or including via html

Properties

label optional

passive optional

selected optional

value optional

Slots

default

leading

trailing

1.4.0

3 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.0

5 years ago

1.0.16

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.12

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago