Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including weex-components with all npm packages installed. Try it out:

var weexComponents = require("weex-components")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

weex-components v0.2.1

A group of simple and useful weex components

Weex Components

copyright: the real author and init committer of these components is @luics and @jinjiang transfer them from https://github.com/alibaba/weex

A group of simple and useful components for Weex. See examples for more details.

Reference:

Button

wxc-button

  • Attributes:

    • type, default | primary | success | info | warning | danger | link
    • size, large | middle | small
    • value
  • Event:

    • click
  • Example:

Panel

wxc-panel

  • Attributes:

    • type, default | primary | success | info | warning | danger
    • title
    • border, number
  • Example:

Hn

wxc-hn

  • Attributes:

    • level, 1 | 2 | 3
  • Example:

Tip

wxc-tip

  • Attributes:

    • type, success | info | warning | danger
    • value, large | middle | small
    • disabled, false | true
  • Example:

List

wxc-list-item

  • Event:

    • click
  • Example:

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free