Skip to content

themoritz/purescript-handsontable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

purescript-handsontable

Minimal Purescript bindings for Handsontable.

About

These bindings are minimal in a sense that, where possible, the direct correspondence between Javascript objects and Purescript records is exploited. The Handsontable options can be configured directly via Purescript records.

As a consequence, there is no additional layer of type-safety and values get passed on to the Handsontable API as they are.

Purescript functions can be passed on as well (callbacks). Use mkFnN from Data.Function.Uncurried to convert Purescript functions to uncurried Javascript functions.

Use

See the browserify task in gulpfile.js and the dependencies in package.json for details on how to package up the npm dependencies that come with handsontable.

Test the example

npm install
bower install
gulp browserify
google-chrome-stable example/index.html

Documentation

Module documentation is published on Pursuit.

You can find an example usage here.

Example use in a larger project can be found here.