react-drag-component

1.0.0 • Public • Published

react-drag-component

Online DEMO

Usage

To use this package is (not that) simple:

  • First check the code at example/
  • Then try to hack the React Component code at example/source/.
  • The state related code is at:
    • example/source/index
    • source/TabListContent/contextState
    • source/TabTreeContent/contextState
  • The Pointer Event related code is at:
    • source/__lib__/pointerEventControl
    • source/TabListContent/context
    • source/TabTreeContent/context
  • The CSS style is postcss-cssnext format.

Required packages

Extra Packages required:

  • hammerjs for Pointer Event
  • state-scheme for Immutable Data
  • react-context-store for React Context

Dependencies (0)

    Dev Dependencies (27)

    Package Sidebar

    Install

    npm i react-drag-component

    Weekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • thatbean