@evergreen-wc/layout
Layout components made with lit element
Last updated a year ago by hutchgrant .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @evergreen-wc/layout 
SYNC missed versions from official npm registry.

eve-row

Evergreen layout centered, flexbox, row wrap, Web Component

Demo

Install

npm i @evergreen-wc/eve-layout

Usage

import { html, LitElement } from '@polymer/lit-element';
import '@evergreen-wc/layout/eve-row';
import '@evergreen-wc/eve-card';

class MyComponent extends LitElement {
  render() {
    return html`
    <eve-row>
      <eve-card img="${logo}" size="xs">
        <h1>Example Card</h1>
        <p>lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum </p>
      </eve-card>
      <eve-card img="${logo}" size="xs">
        <h1>Example Card</h1>
        <p>lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum </p>
      </eve-card>
      <eve-card img="${logo}" size="xs">
        <h1>Example Card</h1>
        <p>lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum </p>
      </eve-card>
      <eve-card img="${logo}" size="xs">
        <h1>Example Card</h1>
        <p>lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum </p>
      </eve-card>
    </eve-row>
    `;
  }
}
customElements.define('my-component', MyComponent);

Current Tags

  • 0.0.9                                ...           latest (a year ago)

8 Versions

  • 0.0.9                                ...           a year ago
  • 0.0.7                                ...           2 years ago
  • 0.0.6                                ...           2 years ago
  • 0.0.5                                ...           2 years ago
  • 0.0.4                                ...           2 years ago
  • 0.0.3                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 2
This Month 3
Last Day 0
Last Week 1
Last Month 1
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |