9.3.114 • Published 6 years ago
rc-calendar-tbtime v9.3.114
rc-calendar
React Calendar(增加淘宝时间选择)
Screenshots
Feature
- support ie9,ie9+,chrome,firefox,safari
- support date, month, year, decade select panel
- support week number
- support en_US and zh_CN locale(UI), use moment.utcOffset to set timezone
- support aria and keyboard accessibility
Keyboard
- Previous month (PageUp)
- Next month (PageDown)
- tab into hour input: Last hour(Up), Next hour(Down)
- tab into hour input: Last minute(Up), Next minute(Down)
- tab into hour input: Last second(Up), Next second(Down)
- Last year (Control + left)
- Next year (Control + right)
install
npm install --save rc-calendar-tbtime
Usage
import React from 'react';
import ReactDOM from 'react-dom';
import TbCalendar from "rc-calendar-tbtime/dist/rc-calendar";
import "rc-calendar-tbtime/dist/rc-calendar.css";
class Demo extends React.Component{
constructor()
{
super();
this.state = {value:"2017-12"}
}
handleChange(v) { this.setState({ value: v }) }
render(){
return ( <TbCalendar disabled={false}
onChange={(v)=>{this.handleChange(v)}}
value={this.state.value}
format="YYYY-MM"/>
);
}
}
ReactDOM.render(<Demo />, document.getElementById('__react-content'));
属性说明
9.3.114
6 years ago
9.3.113
6 years ago
9.3.112
6 years ago
9.3.111
6 years ago
9.3.110
6 years ago
9.3.109
6 years ago
9.3.108
6 years ago
9.3.107
6 years ago
9.3.106
6 years ago
9.3.105
6 years ago
9.3.104
6 years ago
9.3.103
6 years ago
9.3.102
6 years ago
9.3.101
6 years ago
9.3.1-tbtime-1.0.24
6 years ago
9.3.1-tbtime-1.0.23
6 years ago
9.3.1-tbtime-1.0.22
6 years ago
9.3.1-tbtime-1.0.21
6 years ago
9.3.1-tbtime-1.0.20
6 years ago
9.3.1-tbtime-1.0.19
6 years ago
9.3.1-tbtime-1.0.18
6 years ago
9.3.1-tbtime-1.0.17
6 years ago
9.3.1-tbtime-1.0.16
6 years ago
9.3.1-tbtime-1.0.15
6 years ago
9.3.1-tbtime-1.0.14
6 years ago
9.3.1-tbtime-1.0.13
6 years ago
9.3.1-tbtime-1.0.12
6 years ago
9.3.1-tbtime-1.0.11
6 years ago
9.3.1-tbtime-1.0.10
6 years ago
9.3.1-tbtime-1.0.9
6 years ago
9.3.1-tbtime-1.0.8
6 years ago
9.3.1-tbtime-1.0.7
6 years ago
9.3.1-tbtime-1.0.6
6 years ago
9.3.1-tbtime-1.0.5
6 years ago
9.3.1-tbtime-1.0.4
6 years ago
9.3.1-tbtime-1.0.3
6 years ago
9.3.1-tbtime-1.0.2
6 years ago
9.3.1-tbtime-1.0.1
6 years ago
9.3.1-tbtime-1.0.0
6 years ago
9.3.1-tbtime
6 years ago