Ionic 2 - Horizontal Scroll w/Nested Objects

Size
3,253 Kb
Views
89,056

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 Previews

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); });
Ionic 2 - Horizontal Scroll w/Nested Objects - Script Codes
Ionic 2 - Horizontal Scroll w/Nested Objects - Script Codes
Home Page Home
Developer Aaron K Saunders
Username aaronksaunders
Uploaded September 25, 2022
Rating 3
Size 3,253 Kb
Views 89,056
Do you need developer help for Ionic 2 - Horizontal Scroll w/Nested Objects?

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!

Aaron K Saunders (aaronksaunders) Script Codes
Create amazing blog posts with AI!

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!