(You'll feel right at home)
ionic.css
or use Sass PreprocessorOver 600 MIT licensed font-icons included
{{ item.name }}
{{ item.quote }}
ng-repeat
{{ c.name }}
{{ c.email }}
Slide 1
Slide 2
Slide 3
$ionicActionSheet.show({
titleText: 'Modify your album',
buttons: [
{ text: 'Share' },
{ text: 'Move' },
],
destructiveText: 'Delete',
cancelText: 'Cancel',
buttonClicked: function(index) {
console.log('BUTTON CLICKED', index);
return true;
}
});
Back
module.controller('PictureCtrl', function($scope, $cordovaCamera) {
$scope.takePicture = function() {
var options = {
quality : 75,
destinationType : Camera.Dest...Type.DATA_URL,
sourceType : Camera.PictureSourceType.CAMERA,
encodingType: Camera.EncodingType.JPEG,
popoverOptions: CameraPopoverOptions
};
$cordovaCamera.getPicture(options)
.then(function(imageData) {
// Success! Image data is here
}, function(err) {
// An error occured.
});
}
});
module.controller('MyCtrl',
function($scope, $cordovaContacts) {
$scope.addContact = function() {
$cordovaContacts.save($scope.contactForm)
.then(function(result) {
// Contact saved
}, function(err) {
// Contact error
});
};
// Many more features will be added shortly
});
$ npm install -g ionic
_ _
(_) (_)
_ ___ _ __ _ ___
| |/ _ \| '_ \| |/ __|
| | (_) | | | | | (__
|_|\___/|_| |_|_|\___| CLI
Easy-to-follow videos, tutorials and formulas
learn.ionicframework.com
Visit the Community Forum
forum.ionicframework.com
Contribute on GitHub
github.com/driftyco/ionic
</html>