Ionic 2 - Horizontal Scroll w/Nested Objects
How do I make an ionic 2 - horizontal scroll w/nested objects?
The Ionic 2 Tabs Starter Forked from Tim Lancina's Pen Ionic 2 Tabs Starter.. What is a ionic 2 - horizontal scroll w/nested objects? How do you make a ionic 2 - horizontal scroll w/nested objects? This script and codes were developed by Aaron K Saunders on 25 September 2022, Sunday.
Ionic 2 - Horizontal Scroll w/Nested Objects - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Ionic 2 - Horizontal Scroll w/Nested Objects</title> <script src="https://code.angularjs.org/tools/system.js"></script>
<script src="https://code.angularjs.org/2.0.0-beta.2/angular2-polyfills.js"></script>
<script src="https://code.angularjs.org/2.0.0-beta.2/angular2.dev.js"></script>
<script src="https://code.angularjs.org/2.0.0-beta.2/router.dev.js"></script>
<script src="https://code.angularjs.org/2.0.0-beta.2/http.dev.js"></script>
<script src="https://code.angularjs.org/2.0.0-beta.2/Rx.js"></script>
<script src="https://npmcdn.com/[email protected]/bundles/ionic.system.js"></script>
<link href="https://npmcdn.com/[email protected]/bundles/ionic.ios.css" rel="stylesheet"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <!-- this is Ionic's root component and where the app will load -->
<ion-app></ion-app> <script src="js/index.js"></script>
</body>
</html>
Ionic 2 - Horizontal Scroll w/Nested Objects - Script Codes CSS Codes
ion-scroll { white-space: nowrap; height: 150px
}
img { margin: 10px;
}
.section { display: inline-block; white-space: nowrap; overflow-x: scroll; overflow-y: hidden;
}
Ionic 2 - Horizontal Scroll w/Nested Objects - Script Codes JS Codes
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r;
};
System["import"]('ionic/ionic').then(function (ionic) { var App = ionic.App; var Platform = ionic.Platform; var Page = ionic.Page; System["import"]('angular2/core').then(function (ng) { var Inject = ng.Inject; var HomePage = (function () { function HomePage() { this.sections = ['Culture 1', 'Culture 2', 'Culture 3']; this.items = [[0, 1, 2], [0, 1, 2, 3, 4], [0, 1, 2, 3, 4]]; } return HomePage; }()); HomePage = __decorate([ App({ template: "\n <ion-content padding class=\"page1\">\n\n\n <ion-scroll scrollX=\"true\" style=\"overflow: scroll;white-space: nowrap; height: 180px\" >\n <div *ngFor=\"#s of sections\" style=\"display: inline-block;white-space: nowrap; \" class=\"workContentContainer\">\n <div> {{s}} {{$index}} </div>\n <div *ngFor=\"#x of items[2]\" style=\"display: inline-block;white-space: nowrap; \">\n \n <img src=\"http://placehold.it/150x150\" style=\"margin: 10px; display: inline-block;\">\n </div>\n </div>\n </ion-scroll>\n </ion-content>\n " }) ], HomePage); export { HomePage }; })["catch"](function (err) { console.error(err); });
})["catch"](function (err) { console.error(err); });
Developer | Aaron K Saunders |
Username | aaronksaunders |
Uploaded | September 25, 2022 |
Rating | 3 |
Size | 3,253 Kb |
Views | 89,056 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Using ui-router to control application flow | 3,448 Kb |
Angular2 Http Example | 3,851 Kb |
Demo ui-router basic state change | 2,042 Kb |
A Pen by aaron k saunders | 2,916 Kb |
Proper way to manage ng-options selections | 2,114 Kb |
A Pen by aaron k saunders | 4,143 Kb |
Nested ng-repeat in AngularJS with Checkboxes | 2,600 Kb |
Firebase Login Example | 2,682 Kb |
A Pen by aaron k saunders | 2,286 Kb |
Promise sample for Cross-Platform mobile application class | 2,214 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Pure CSS albums gallery | Renaudtertrais | 2,978 Kb |
DFF Website | Hawcubite | 10,123 Kb |
Scroll to top button | DominicFrancois | 3,743 Kb |
Css color for svg | Ademilter | 2,392 Kb |
Dragonball Dragon Radar | DouglasGlover | 2,157 Kb |
Jochaho Skeleton | Dhanushbadge | 1,689 Kb |
Flexbox playground | Enxaneta | 5,418 Kb |
CSS3 Diamond | Rendro | 1,960 Kb |
Hover Animation from UNIQLO | Insprd | 3,772 Kb |
Simple Linear Regression with Editable Table | Melatonind | 3,264 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!