react-infinite-tree
Advanced tools
Comparing version 0.5.2 to 0.6.0
@@ -57,2 +57,4 @@ 'use strict'; | ||
onDoubleClick: null, | ||
onKeyDown: null, | ||
onKeyUp: null, | ||
onClusterWillChange: null, | ||
@@ -59,0 +61,0 @@ onClusterDidChange: null, |
{ | ||
"name": "react-infinite-tree", | ||
"version": "0.5.2", | ||
"version": "0.6.0", | ||
"description": "The infinite-tree library for React.", | ||
@@ -45,3 +45,3 @@ "main": "lib/index.js", | ||
"react-dom": "^0.14.0 || ^15.0.0-0", | ||
"infinite-tree": ">=1.7.0" | ||
"infinite-tree": ">=1.8.0" | ||
}, | ||
@@ -48,0 +48,0 @@ "dependencies": {}, |
@@ -19,3 +19,3 @@ # react-infinite-tree [![build status](https://travis-ci.org/cheton/react-infinite-tree.svg?branch=master)](https://travis-ci.org/cheton/react-infinite-tree) [![Coverage Status](https://coveralls.io/repos/github/cheton/react-infinite-tree/badge.svg?branch=master)](https://coveralls.io/github/cheton/react-infinite-tree?branch=master) | ||
## Browser Support | ||
![Chrome](https://raw.github.com/alrra/browser-logos/master/chrome/chrome_48x48.png)<br>Chrome | ![Edge](https://raw.github.com/alrra/browser-logos/master/edge/edge_48x48.png)<br>Edge | ![Firefox](https://raw.github.com/alrra/browser-logos/master/firefox/firefox_48x48.png)<br>Firefox | ![IE](https://raw.github.com/alrra/browser-logos/master/internet-explorer/internet-explorer_48x48.png)<br>IE | ![Opera](https://raw.github.com/alrra/browser-logos/master/opera/opera_48x48.png)<br>Opera | ![Safari](https://raw.github.com/alrra/browser-logos/master/safari/safari_48x48.png)<br>Safari | ||
![Chrome](https://github.com/alrra/browser-logos/raw/master/src/chrome/chrome_48x48.png)<br>Chrome | ![Edge](https://github.com/alrra/browser-logos/raw/master/src/edge/edge_48x48.png)<br>Edge | ![Firefox](https://github.com/alrra/browser-logos/raw/master/src/firefox/firefox_48x48.png)<br>Firefox | ![IE](https://github.com/alrra/browser-logos/raw/master/src/archive/internet-explorer_9-11/internet-explorer_9-11_48x48.png)<br>IE | ![Opera](https://github.com/alrra/browser-logos/raw/master/src/opera/opera_48x48.png)<br>Opera | ![Safari](https://github.com/alrra/browser-logos/raw/master/src/safari/safari_48x48.png)<br>Safari | ||
--- | --- | --- | --- | --- | --- | | ||
@@ -126,2 +126,3 @@ Yes | Yes | Yes| 9+ | Yes | Yes | | ||
onClick={(event) => { | ||
// click event | ||
const target = event.target || event.srcElement; // IE8 | ||
@@ -131,4 +132,10 @@ console.log('click:', target); | ||
onDoubleClick={(event) => { | ||
console.log('double click:', target); | ||
// dblclick event | ||
}} | ||
onKeyDown={(event) => { | ||
// keydown event | ||
}} | ||
onKeyUp={(event) => { | ||
// keyup event | ||
}} | ||
onOpenNode={(node) => { | ||
@@ -135,0 +142,0 @@ console.log('open node:', node); |
@@ -18,2 +18,4 @@ import React from 'react'; | ||
onDoubleClick: null, | ||
onKeyDown: null, | ||
onKeyUp: null, | ||
onClusterWillChange: null, | ||
@@ -20,0 +22,0 @@ onClusterDidChange: null, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
7049132
51164
176