Titanium Alloy SignView widget
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.settings
Resources
app
plugins/ti.alloy
.gitignore
.project
CHANGELOG.txt
LICENSE
LICENSE.txt
README.md
SS.png
manifest
tiapp.xml

README.md

About

Titanium Alloy 用の サインを手書きでかけるようにする View Widget です。

SS

Usage

Copy the widgets folder in app/widgets folder of your project.

View

app/views/index.xml

<Alloy>
  <Window>
    <Widget src="jp.co.mountposition.signview" onChange="signChange" />
  </Window>
</Alloy>

Controller

app/controllers/index.js

function signChange(e) {
  var imageView = Ti.UI.createImageView({image: e.data});
  $.index.add(imageView);
}

config.json

Add dependencies of app/config.json

{
    "global": {},
    "env:development": {},
    "env:test": {},
    "env:production": {},
    "os:ios": {},
    "os:android": {},
    "dependencies": {
        "jp.co.mountposition.signview": "1.0"
    }
}

License

Written by @hamasyou Copyright © 2013 MountPosition Inc. Licensed under the [MIT License][MIT] [MIT]: http://www.opensource.org/licenses/mit-license.php