New Solutions

How to put a checkbox input inside an alert prompt in Ionic2?

Using Ionic2 and Angular2, I want to show an alert box, inside which a text along with checkbox - to ask for user if he/she agree to the statement. Solution //Prompt an alert, to ask user to verify there email address. let alert = Alert.create({ subTitle: 'Email not verified!', message: 'Please check your email for verification link.',

it1352 0 2020-11-30

Ionic serve error after updating

I am building a app and its near its completion, upon updating to ionic 2 it started to give me this bug: /Users/Raz/Work/Ionic 2/My-World/node_modules/.bin/ionic-app-scripts: line 1: ../@ionic/app-scripts/bin/ionic-app-scripts.js: No such file or directory npm ERR! Darwin 16.1.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "r

it1352 0 2020-11-30

IONIC 2 - Component Tab Menu

New to Ionic 2 and Angular 2. Trying to simply add a tab menu (component) to some of my pages. menu.component.ts import { Component, OnInit } from '@angular/core'; @Component({ selector: 'menu', templateUrl: './menu.component.html' }) export class MenuComponent implements OnInit { constructor() { } ngOnInit() { } } menu.compon

it1352 0 2020-11-30

CSS: How to apply style to a specific class

I have a css question please. I have the following html code: <ion-item *ngFor="let item of dummyJobModels" class="item-search-dummy"> </ion-item> This generates the code below: I would like to hide the border-bottom. I need to set for the list-md class, but for only the elements under the item-search-dummy class. I have tried th

it1352 0 2020-11-30

How can i insert page in ionic 3 segment layout

This is my app with Tabs layout Once i click on profile tab i push a page say Profile.ts which contains ion-segment in its own template Profile.html Profile.html <ion-content> <ion-segment [(ngModel)]="whichPage" color="primary"> <ion-segment-button style="font-size: 11px" value="Personal"> Personal </ion-s

it1352 0 2020-11-30

ionic 2: Display array of items in a 3x3 table

I have an array of items I would like to display in a 3x3 table like display as follows: In order to achieve that, I sliced my array into 3 arrays of 3 and displayed it as follows: <ion-grid no-padding class="home-gallery"> <ion-row *ngFor="let row of items | async"> <ion-col *ngFor="let item of row"> &

it1352 0 2020-11-30