Coder Social home page Coder Social logo

cordova3plugin's Introduction

Cordova3Plugin

Plugin that can be used as a starting point for Cordova 3 CLI compatible plugins.

##Installation You can install this Plugin using the CLI of Cordova 3.0.

cordova plugin add https://github.com/codigoabierto/Cordova3Plugin.git

##Usage

The JavaScript interface of the Plugin only provides an echo method, whose code is the same as the one found in the documentation for Cordova 3.0 Plugin development.

From your JavaScript you can access this method using either:

myPlugin.echo(yourMessage, successCallback, errorCallback);

or the equivalent:

window.myPlugin.echo(yourMessage, successCallback, errorCallback);

##Notes

If you plan on using this plugin as a starting point for your plugin, be sure to:

  • Fork this repo and edit the plugin.xml file and make all the necessary changes, especially to the id and version of the plugin in the <plugin> element of the XML.
  • After making the changes, commit and push to your clone so that you can install from your repo.

You can skip all of this but if you install from this repo, the plugins folder of your Cordova project will have a folder named "com.mydomain.myScript" (this name is taken from the id defined in plugin.xml).

cordova3plugin's People

Contributors

codigoabierto avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.