mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
style(imports): add spaces in imports
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import {Directive, Component, ElementRef, Renderer, Optional, EventEmitter, Input, Output, HostListener, ContentChildren, QueryList, ViewEncapsulation} from '@angular/core';
|
||||
import {NgControl} from '@angular/common';
|
||||
import { Component, ContentChildren, Directive, ElementRef, EventEmitter, HostListener, Input, Output, Optional, QueryList, Renderer, ViewEncapsulation } from '@angular/core';
|
||||
import { NgControl } from '@angular/common';
|
||||
|
||||
import {isTrueProperty, isPresent} from '../../util/util';
|
||||
import { isPresent, isTrueProperty } from '../../util/util';
|
||||
|
||||
|
||||
/**
|
||||
@ -66,7 +66,7 @@ export class SegmentButton {
|
||||
/**
|
||||
* @output {SegmentButton} expression to evaluate when a segment button has been clicked
|
||||
*/
|
||||
@Output() ionSelect: EventEmitter<SegmentButton> = new EventEmitter();
|
||||
@Output() ionSelect: EventEmitter<SegmentButton> = new EventEmitter<SegmentButton>();
|
||||
|
||||
constructor(private _renderer: Renderer, private _elementRef: ElementRef) {}
|
||||
|
||||
@ -178,7 +178,7 @@ export class Segment {
|
||||
/**
|
||||
* @output {Any} expression to evaluate when a segment button has been changed
|
||||
*/
|
||||
@Output() ionChange: EventEmitter<SegmentButton> = new EventEmitter();
|
||||
@Output() ionChange: EventEmitter<SegmentButton> = new EventEmitter<SegmentButton>();
|
||||
|
||||
|
||||
/**
|
||||
|
@ -54,13 +54,13 @@
|
||||
Map mode: <b>{{myForm.controls.mapStyle.value}}</b> -
|
||||
|
||||
<span [ngSwitch]="myForm.controls.mapStyle.value">
|
||||
<span *ngSwitchWhen="'standard'">
|
||||
<span *ngSwitchCase="'standard'">
|
||||
<b>Standard</b>
|
||||
</span>
|
||||
<span *ngSwitchWhen="'hybrid'">
|
||||
<span *ngSwitchCase="'hybrid'">
|
||||
<b>Hybrid</b>
|
||||
</span>
|
||||
<span *ngSwitchWhen="'sat'">
|
||||
<span *ngSwitchCase="'sat'">
|
||||
<b>Satellite</b>
|
||||
</span>
|
||||
</span>
|
||||
|
@ -38,13 +38,13 @@
|
||||
</ion-row>
|
||||
|
||||
<div [ngSwitch]="signInType">
|
||||
<div *ngSwitchWhen="'existing'">
|
||||
<div *ngSwitchCase="'existing'">
|
||||
Signing up as an <b>Existing User</b>.
|
||||
</div>
|
||||
<div *ngSwitchWhen="'new'">
|
||||
<div *ngSwitchCase="'new'">
|
||||
Signing up as a <b>New User</b>.
|
||||
</div>
|
||||
<div *ngSwitchWhen="'test'">
|
||||
<div *ngSwitchCase="'test'">
|
||||
Signing up as a <b>Test User</b>.
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user