🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

uxcore-select

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uxcore-select

uxcore-select ui component for react

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

uxcore-select

uxcore-select ui component for react

$ git clone https://github.com/uxcore/uxcore-select
$ cd uxcore-select
$ npm install
$ npm run dev

then nav http://localhost:9090/example/ to see the demo

Apply scope

  • simple table, just support view, also support column format handler

    	var App = require('../lib/index.jsx');
    
    	var options=[
    		{label:"上海",value:"SH",selected:true},
    		{label:"北京",value:"BJ"}
    	];
    
    	var SelectField =<App jsxdisabled="">
    						<option >请选择</option>
    						<option value="bj" selected>北京</option>
    						<option value="nj">南京</option>
    						<option value="dj">东京</option>
    						<option value="xj">西京</option>
    					</App>
    
    
    	React.render(
    		React.createElement(App,{jsxdata:options,jsxdisabled:"disabled"}),
    		 document.getElementById('content'));
    
    	React.render(
    		React.createElement(App,{jsxdata:options,jsxdisabled:""}),
    		 document.getElementById('content2'));
    
    	React.render(SelectField,
    		 document.getElementById('content3'));
    
    

Attr

  • jsxdata
  • jsxdisabled

Keywords

react

FAQs

Package last updated on 14 Jun 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts