Coder Social home page Coder Social logo

v-render-ui's Introduction

v-render-ui

这是一个从原 v-render 框架中分离出的组件库,v-render 框架新版本将不再内置组件。

使用 v-render-ui

安装
npm i v-render-ui --save
引入
const Path = require("path");
const VRender = require("v-render");

VRender.use(require("v-render-ui"));

// 配置路由信息...

new VRender({
  cwd: Path.resolve(__dirname, "./")
});
使用(如:index页面【Index.js】)
const VRender = require("v-render");

const Index = VRender.PageView.extend(module, {
  renderBody: function (body) {
    Index.super(this, body);
    new VRender.UIInput(this, {
      prompt: "请输入"
    }).render(body);
  }
});

组件列表

名称 描述
UIButton 按钮
UICheckbox 多选框
UICheckGroup 多选组
UIConfirm 确认对话框
UIContainer 边框容器
UIDateInput 日期输入框
UIDatePicker 日期选择器
UIDateRange 起止日期输入框
UIDateTime 日期时间输入框
UIDialog 对话框
UIFileUpload 文件上传
UIForm 表单视图
UIGroup 组视图
UIInput 文本输入框
UIList 列表视图
UIMessage 提示框
UINotice 通知
UIPaginator 分页
UIPanel 面板
UIPopupMenu 弹出菜单
UIRadiobox 单选框
UIRadioGroup 单选组
UIScroll 滚动加载
UISelect 下拉选择框
UITabbar 标签栏
UITable 数据网络
UITimeInput 时间输入框
UITree 树形视图
UITreeSelect 树形下拉选择框

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.