Programming Steps
Step-By-Step Programming For Beginners
Auto-Codes
C Language
Cobol 85 Language
ColdFusion Language
Cordova
HTML5
Java Language
Mobile
Objective-C Language
PhoneGap
PHP
Python Language
Ruby Language
Learn the powerful enterprise adaptable database:
Getting Started With ADABAS & Natural
Friday, June 2, 2017
222 Ionic-v1 Footer Toggle: Nightly
Footer Toggle: Nightly
code example:
<html ng-app="ionicApp"> <head> <meta charset="utf-8"> <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width"> <title>Toggle Footer</title> <link href="//code.ionicframework.com/nightly/css/ionic.css" rel="stylesheet"> <script src="//code.ionicframework.com/nightly/js/ionic.bundle.js"></script> <style> body { cursor: url('https://ionicframework.com/img/finger.png'), auto; } </style> </head> <body ng-controller="AppCtrl"> <ion-content padding="true" ng-class="{'has-footer': showFooter}"> <button ng-click="toggleFooter()" class="button button-assertive">Toggle Footer</button> </ion-content> <ion-footer-bar class="bar-assertive" ng-if="showFooter"> </ion-footer-bar> <script> angular.module('ionicApp', ['ionic']) .controller('AppCtrl', function($scope) { $scope.showFooter = true; $scope.toggleFooter = function() { console.log('Toggling footer'); $scope.showFooter = !$scope.showFooter; } }) </script> </body> </html>
See the Pen
Footer Toggle: Nightly
by Ionic (
@ionic
) on
CodePen
.
https://codepen.io/-kaik-/pen/GggagK/
201706,20170602
Related Posts:
Ionic V1 Project My Club
315 ionic-v1 Ionic Tinder Cards 2
314 ionic-v1 Ionic Slide Tab
313 ionic-v1 Custom Loading Bar
312 ionic-v1 Ionic Simple Progress ...
Related Posts Widget
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment