-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added various files and re worked others
- Loading branch information
Ross Starkey
committed
Oct 11, 2019
1 parent
c5a057c
commit 93f1e1b
Showing
15 changed files
with
111 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 0 additions & 15 deletions
15
src/app/components/cds-declaration/declaration-host.component.ts
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
src/app/components/cds-declaration/header/declaration-type/declaration-type.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<p>declaration-type works!</p> |
3 changes: 3 additions & 0 deletions
3
src/app/components/cds-declaration/header/declaration-type/declaration-type.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
p { | ||
margin-top: 0px; | ||
} |
15 changes: 15 additions & 0 deletions
15
src/app/components/cds-declaration/header/declaration-type/declaration-type.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { Component, OnInit } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'app-declaration-type', | ||
templateUrl: './declaration-type.component.html', | ||
styleUrls: ['./declaration-type.component.scss'] | ||
}) | ||
export class DeclarationTypeComponent implements OnInit { | ||
|
||
constructor() { } | ||
|
||
ngOnInit() { | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { Component, OnInit } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'app-home', | ||
templateUrl: './home.component.html', | ||
styleUrls: ['./home.component.scss'] | ||
}) | ||
export class HomeComponent implements OnInit { | ||
|
||
constructor() { } | ||
|
||
ngOnInit() { | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<main igxFlex [class.mini-padding]="!drawerState.pin && drawerState.miniTemplate"> | ||
<span igxButton="icon" igxToggleAction="navigation"> | ||
<igx-icon fontSet="material">menu</igx-icon> | ||
</span> | ||
|
||
<section> | ||
<h5 class="setting-title">Mode</h5> | ||
<div> | ||
<igx-switch (ngModelChange)="drawer.toggle()" [(ngModel)]="drawerState.pin"> | ||
Pin | ||
</igx-switch> | ||
</div> | ||
<div> | ||
<igx-switch (ngModelChange)="drawer.toggle()" [(ngModel)]="drawerState.miniTemplate"> | ||
Mini variant | ||
</igx-switch> | ||
</div> | ||
</section> | ||
<section> | ||
<h5 class="setting-title">Touch gestures</h5> | ||
<div> | ||
<igx-switch [(ngModel)]="drawer.enableGestures" [checked]="true" [disabled]="drawerState.pin"> | ||
Enable gestures | ||
</igx-switch> | ||
<p class="setting-note"> | ||
Swipe or drag from the edge area to open or to close. | ||
Unpin and try it out on a mobile device. | ||
</p> | ||
</div> | ||
</section> | ||
<section> | ||
<h5 class="setting-title">Position</h5> | ||
<div class="setting-container radio"> | ||
<igx-radio *ngFor="let item of ['left', 'right']" value="{{item}}" name="group" [(ngModel)]="drawer.position" | ||
[disabled]="drawerState.pin">{{item}}</igx-radio> | ||
<p class="setting-note"> | ||
Unpin to try it out. | ||
</p> | ||
</div> | ||
</section> | ||
</main> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { Component, OnInit, ViewChild } from '@angular/core'; | ||
import { IgxNavigationDrawerComponent } from 'igniteui-angular'; | ||
|
||
@Component({ | ||
selector: 'app-settings', | ||
templateUrl: './settings.component.html', | ||
styleUrls: ['./settings.component.scss'] | ||
}) | ||
export class SettingsComponent implements OnInit { | ||
|
||
constructor() { } | ||
|
||
@ViewChild(IgxNavigationDrawerComponent, { static: true }) | ||
public drawer: IgxNavigationDrawerComponent; | ||
|
||
public drawerState = { | ||
miniTemplate: false, | ||
open: true, | ||
pin: true | ||
}; | ||
|
||
ngOnInit() { | ||
} | ||
|
||
} |