Yours Truly, Famous Inc.
Varya Stepanova
@ FrontTrends2014
native performance
$ node -v
v0.10.25
$ npm install steroids -g
$ steroids create myProject
$ cd myProject
$ steroids connect --watch
# AppGyver Scaner
simulator
$ steroids generate example <exampleName>
$ steroids generate tutorial <tutorialName>
$ steroids generate ng-resource
modal
navigationBar
tabBar
$ vim config/application.coffee
steroids.config.tabBar.enabled = true
steroids.config.tabBar.tabs = [
...
]
navigator.notification.alert(
'You are the winner!', // message
alertDismissed, // callback
'Game Over', // title
'Done' // buttonName
);
var loginButton =
new steroids.buttons.NavigationBarButton();
loginButton.title = "the Button";
steroids.view.navigationBar.update({
buttons: {
right: [loginButton]
}
});
function showModal() {
var webView =
new steroids.views.WebView("/views/modalExample/show.html");
steroids.modal.show(webView);
}
<a class="button button-block"
ontouchend="showModal()">Open modal</a>
$ steroids deploy
cloud.appgyver.com