mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-12-22 01:47:08 +00:00
@angular/material v2.0.0-beta.12 compability update,
Lots of breaking changes, all "md" prefixes changed with "mat" due to angular material deprecation of "md", md2 package removed, its not compatible with latest material version, will be replaced with another date picker later.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
.example-icon {
|
||||
padding: 0 14px;
|
||||
padding: 0 14px;
|
||||
}
|
||||
|
||||
.example-spacer {
|
||||
flex: 1 1 auto;
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
<md-toolbar color="primary">
|
||||
<span>Custom Toolbar</span>
|
||||
<mat-toolbar color="primary">
|
||||
<span>Custom Toolbar</span>
|
||||
|
||||
<md-toolbar-row>
|
||||
<span>Second Line</span>
|
||||
<span class="example-spacer"></span>
|
||||
<md-icon class="example-icon">verified_user</md-icon>
|
||||
</md-toolbar-row>
|
||||
<mat-toolbar-row>
|
||||
<span>Second Line</span>
|
||||
<span class="example-spacer"></span>
|
||||
<mat-icon class="example-icon">verified_user</mat-icon>
|
||||
</mat-toolbar-row>
|
||||
|
||||
<md-toolbar-row>
|
||||
<span>Third Line</span>
|
||||
<span class="example-spacer"></span>
|
||||
<md-icon class="example-icon">favorite</md-icon>
|
||||
<md-icon class="example-icon">delete</md-icon>
|
||||
</md-toolbar-row>
|
||||
</md-toolbar>
|
||||
<mat-toolbar-row>
|
||||
<span>Third Line</span>
|
||||
<span class="example-spacer"></span>
|
||||
<mat-icon class="example-icon">favorite</mat-icon>
|
||||
<mat-icon class="example-icon">delete</mat-icon>
|
||||
</mat-toolbar-row>
|
||||
</mat-toolbar>
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
import {Component} from '@angular/core';
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
/**
|
||||
* @title Multi-row toolbar
|
||||
*/
|
||||
@Component({
|
||||
selector: 'toolbar-multirow-example',
|
||||
templateUrl: 'toolbar-multirow-example.html',
|
||||
styleUrls: ['toolbar-multirow-example.css'],
|
||||
selector : 'toolbar-multirow-example',
|
||||
templateUrl: 'toolbar-multirow-example.html',
|
||||
styleUrls : ['toolbar-multirow-example.css']
|
||||
})
|
||||
export class ToolbarMultirowExample {}
|
||||
export class ToolbarMultirowExample
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user