GitXplorerGitXplorer
y

Hazelnut

public
4 stars
1 forks
2 issues

Commits

List of commits on branch master.
Unverified
336c89f0eb8d4a4868aa1265813ba5c78dbc8b56

Update Hazelnut interface

yyrezgui committed 11 years ago
Unverified
445506dc732fe9db5eeb78eaf33d2562c0c7017d

Fix bad copy paste

yyrezgui committed 11 years ago
Unverified
63bf2cf60b080c68b5d5e6da68b3e04e32ea1f78

Reindent pluginx.xml

yyrezgui committed 11 years ago
Unverified
c7acb49d8a58ff8406c1760706e76c6fad7bd246

Increment the version of the plugin

yyrezgui committed 11 years ago
Unverified
cb88174b8bb0041ec11fb08415585f6a61c8f62b

Fix name of js file

yyrezgui committed 11 years ago
Unverified
3662f87f42779f9571ca7d659d12e2dd2a8ae5eb

Modify iOS plugin to take filename as an argument

yyrezgui committed 11 years ago

README

The README file for this repository.

Hazelnut

Phonegap plugin to display local files by providing URI. Inspiration from https://github.com/ti8mag/DocumentHandler

Usage

The plugin exposes one method on the window object:

HazelnutOpen(filename, uri, successCallback, errorCallback)

The parameters:

  • filename: allow to display another name that the actual name of the file. If null, it will take the actual name.
  • uri: A local URL to a document (format Absolute URL).
  • successHandler: Should be a function. Is called when the open of the file is done and the file is shown to the user.
  • failureHandler: Should be a function. Is called when there was a problem with opening the file.