Format Slides
This commit is contained in:
@@ -7,45 +7,33 @@
|
|||||||
<ion-content>
|
<ion-content>
|
||||||
<div class="dash_top">
|
<div class="dash_top">
|
||||||
<ion-grid>
|
<ion-grid>
|
||||||
<ion-row>
|
<ion-row>
|
||||||
|
<ion-item>
|
||||||
<ion-item>
|
<ion-avatar slot="start">
|
||||||
<ion-avatar slot="start">
|
<img
|
||||||
<img alt="Silhouette of a person's head" src="https://ionicframework.com/docs/img/demos/avatar.svg" />
|
alt="Silhouette of a person's head"
|
||||||
</ion-avatar>
|
src="https://ionicframework.com/docs/img/demos/avatar.svg"
|
||||||
<ion-label>
|
/>
|
||||||
Avatar Item
|
</ion-avatar>
|
||||||
</ion-label>
|
<ion-label> Avatar Item </ion-label>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
|
</ion-row>
|
||||||
</ion-row>
|
<ion-row>
|
||||||
<ion-row>
|
<ion-col>
|
||||||
<ion-col>
|
<ion-slides pager="true">
|
||||||
<ion-slides pager="true">
|
<ion-slide *ngFor="let x of slides_items; let i = index">
|
||||||
<ion-slide>
|
<ion-button
|
||||||
<ion-button shape="round" size="small" fill="outline" class="slide_c" outline
|
shape="round"
|
||||||
>Menu Item 11</ion-button
|
size="small"
|
||||||
>
|
fill="outline"
|
||||||
</ion-slide>
|
class="slide_c"
|
||||||
<ion-slide>
|
outline
|
||||||
<ion-button shape="round" size="small" fill="outline" class="slide_c" outline
|
>{{x.name}}</ion-button
|
||||||
>Menu Item 22</ion-button
|
>
|
||||||
>
|
</ion-slide>
|
||||||
</ion-slide>
|
</ion-slides>
|
||||||
<ion-slide>
|
</ion-col>
|
||||||
<ion-button shape="round" size="small" fill="outline" class="slide_c" outline
|
</ion-row>
|
||||||
>Menu Item 33</ion-button
|
</ion-grid>
|
||||||
>
|
|
||||||
</ion-slide>
|
|
||||||
<ion-slide>
|
|
||||||
<ion-button shape="round" size="small" fill="outline" class="slide_c" outline
|
|
||||||
>Menu Item 44</ion-button
|
|
||||||
>
|
|
||||||
</ion-slide>
|
|
||||||
</ion-slides>
|
|
||||||
</ion-col>
|
|
||||||
</ion-row>
|
|
||||||
</ion-grid>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</ion-content>
|
</ion-content>
|
||||||
|
|||||||
@@ -8,7 +8,16 @@ import { Component, OnInit } from '@angular/core';
|
|||||||
export class UserDashPage implements OnInit {
|
export class UserDashPage implements OnInit {
|
||||||
|
|
||||||
constructor() { }
|
constructor() { }
|
||||||
|
slides_items = [
|
||||||
|
{menu_key: "thisleadto", name: "This Menu 11", extra: "c"},
|
||||||
|
{menu_key: "thisleadto", name: "This Menu 22", extra: "c"},
|
||||||
|
{menu_key: "thisleadto", name: "This Menu 33", extra: "c"},
|
||||||
|
{menu_key: "thisleadto", name: "This Menu 44", extra: "c"},
|
||||||
|
{menu_key: "thisleadto", name: "This Menu 55", extra: "c"},
|
||||||
|
{menu_key: "thisleadto", name: "This Menu 66", extra: "c"},
|
||||||
|
{menu_key: "thisleadto", name: "This Menu 77", extra: "c"},
|
||||||
|
{menu_key: "thisleadto", name: "This Menu 88", extra: "c"}
|
||||||
|
]
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user