Directory

← Back

wired-card

wired-card is s a container for other web elements - with a hand-drawn, wireframe like, look.

Author

Rating

Popularity

<100

[ This description is mirrored from README.md at github.com/wiredjs/wired-card on 2019-05-10 ]

wired-card

wired-card is s a container for other web elements - with a hand-drawn, wireframe like, look.

For demo and view the complete set of wired-elememts: wiredjs.com

Learn about web components here.

Usage

Add wired-card to your project:

npm i wired-card

Import wired-card definition into your HTML page:

<script type="module" src="wired-card/wired-card.js"></script>

Or into your module script:

import { WiredCard } from "wired-card"

Use it in your web page:

<wired-card>
  <p>Elevation: 1</p>
</wired-card>

<wired-card elevation="3">
  <p>Elevation: 3</p>
</wired-card>

Properties

elevation - Numerical number between 1-5 (inclusive) - sets the elevation of the card. Default is 1.

wired card

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Dependencies

  • polymer#Polymer/polymer#^2.0.0
  • wired-lib#^0.1.1
Released
2017-08-28
Maturity
IMPORTED
License
MIT License

Compatibility

Framework
Polymer 2.0+
Browser
Browser Independent

wired-card - Vaadin Add-on Directory

wired-card is s a container for other web elements - with a hand-drawn, wireframe like, look. wired-card - Vaadin Add-on Directory
**[ This description is mirrored from README.md at [github.com/wiredjs/wired-card](https://github.com//wiredjs/wired-card/blob/v0.5.1/README.md) on 2019-05-10 ]** # wired-card wired-card is s a container for other web elements - with a hand-drawn, wireframe like, look. For demo and view the complete set of wired-elememts: [wiredjs.com](http://wiredjs.com/) Learn about web components [here](https://www.webcomponents.org/introduction). ## Usage Add wired-card to your project: ``` npm i wired-card ``` Import wired-card definition into your HTML page: ```html ``` Or into your module script: ```javascript import { WiredCard } from "wired-card" ``` Use it in your web page: ```html

Elevation: 1

Elevation: 3

``` ### Properties **elevation** - Numerical number between 1-5 (inclusive) - sets the elevation of the card. Default is 1. ![wired card](https://wiredjs.github.io/wired-elements/images/card.png)
Online