AngularJS Material: Material Design component library for AngularJS (1.x). Use angular/material2 channel for Angular Material (v2+).
Splaktar on master
fix(toast): apply theming corre… perf(icon): better handling of … fix(list): copy ng-show, ng-hid… and 49 more (compare)
Splaktar on v1.1.0-rc.5
release: version 1.1.0-rc.5 (compare)
Splaktar on master
feat(panel): initial implementa… update(panel): promise logic im… update(panel): add and remove p… and 44 more (compare)
Splaktar on v1.1.0-rc4
release: version 1.1.0-rc4 (compare)
Splaktar on v1.1.0-rc3
release: version 1.1.0-rc3 (compare)
Splaktar on es6-tutorial
Prepare clean start Remove bow… install angular-material And i… working version of starter-app and 19 more (compare)
Splaktar on master
Tutorial Readme updates Updates for Tutorial #2 Update README with tutorial ste… and 56 more (compare)
Splaktar on fixBlurryRightNavIe11
fix(sidenav): rightNav button a… (compare)
Splaktar on master
fix(dialog): don't clobber md-d… update version number in packag… update(changelog): sort so 1.1.… and 1 more (compare)
Splaktar on fixSideNavDemo
docs(sidenav): leftNav text isn… (compare)
Splaktar on fixSideNavDemo
docs(sidenav): invalid `md-whit… (compare)
Splaktar on master
update(changelog): add missing … fix(toolbar): remove transition… fix(tests): Cleans up the DOM a… and 2 more (compare)
Splaktar on master
update(docs): improve docs for … update(docs): renamed `md-text-… fix(list): clickable list-items… and 71 more (compare)
Splaktar on improveExtendThemeDoc
update(docs): improve docs for … (compare)
Splaktar on improveExtendThemeDocs
update(docs): improve docs for … (compare)
Splaktar on updateThemingDocs
update(docs): renamed `md-text-… (compare)
Splaktar on master
fix(demo, codepen): use secure … fix(build, layout): remove depr… update(build): remove stale bow… and 72 more (compare)
Splaktar on v1.1.0-rc2
release: version 1.1.0-rc2 (compare)
Splaktar on master
fix(checkbox): pointer events d… update(tests): remove disabled/… fix(datepicker): enable scrolli… and 20 more (compare)
Splaktar on v1.0.6
Revert "fix(select): made selec… update(layout): add layout-nowr… fix(whiteframe): update breakpo… and 57 more (compare)
Hi, looks like i have problem with stylig popups - here is how initiate style:
.clubhub-user-panel {
@include angular-material-theme($my-theme);
@include app-theme($my-theme);
}
And the problem is clubhub-user-panel
is a css class in the app-component
<div class="clubhub-user-panel">
<mat-progress-bar mode="indeterminate" *ngIf="isLoading"></mat-progress-bar>
<router-outlet></router-outlet> // Everything is here
</div>
So when popup shows up is outside of the clubhub-user-panel
class thus style is not applied.
Hey, how do i pass ng-container
inside ng-content
?? I want to make this work:
<app-list>
<ng-container matColumnDef="id">
<th mat-header-cell *matHeaderCellDef> ID</th>
<td mat-cell *matCellDef="let account"> {{account.id}} </td>
</ng-container>
</app-list>
And then app-list
template:
<table mat-table [dataSource]="paginator" *ngIf="paginator">
<ng-content> </ng-content>
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
<tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr>
</table>
But looks like mat-table
cannot see containers defined in parent
<table mat-table [dataSource]="offers" class="mat-elevation-z8">
<!-- ID Column -->
<ng-container matColumnDef="id">
<th mat-header-cell *matHeaderCellDef> ID </th>
<td mat-cell *matCellDef="let element"> {{ element | json }} </td>
</ng-container>
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
<tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr>
</table>
getOffers(): Observable<Offer[]> {
return this.http.get(OFFERS_API)
.pipe(map(fetchedOffers => {
// Transform Object to an Array so later we can loop throug that Array
return Object.values(fetchedOffers)
})
)
}
ngOnInit() {
this.customersService.getOffers()
// Subscribe to transformed Data
.subscribe(transformedData => {
this.offers = transformedData;
console.log('Offers from component', this.offers);
}, error => {
console.log('Error occured', error);
})
}
<table mat-table [dataSource]="offers" class="mat-elevation-z8">
<!-- ID Column -->
<ng-container matColumnDef="id">
<th mat-header-cell *matHeaderCellDef> ID </th>
<td mat-cell *matCellDef="let element"> {{ element.id }} </td>
</ng-container>
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
<tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr>
</table>
I am organizing a Hangouts Meet call with contributors to AngularJS Material on March 4th at 6pm EST (based on the Doodle that I sent out to active contributors).
This meeting is an opportunity, for contributors to AngularJS Material, to ask questions, discuss ideas, and make plans for future contributions. It's also an opportunity to help coordinate contributions and get updates on release milestones and project updates.
If you would like to get an invite, please email me at michael.prentice@devintent.com.
*Please note that we will not be discussing Angular Material (v3+), Angular CDK, Google Maps, or YouTube Player.
@Splaktar : nested-menu-example component htmlis below
<button mat-button [matMenuTriggerFor]="animals">Animal index</button>
<mat-menu #animals="matMenu">
<button mat-menu-item >Test</button>
<button mat-menu-item>Test2</button>
<ng-content> </ng-content>
</mat-menu>
<nested-menu-example>
<button mat-menu-item [matMenuTriggerFor]="vertebrates">Vertebrates</button>
<button mat-menu-item [matMenuTriggerFor]="invertebrates">Invertebrates</button>
<mat-menu #vertebrates="matMenu">
<button mat-menu-item >Fishes</button>
<button mat-menu-item >Amphibians</button>
<button mat-menu-item >Reptiles</button>
<button mat-menu-item>Birds</button>
<button mat-menu-item>Mammals</button>
</mat-menu>
<mat-menu #invertebrates="matMenu">
<button mat-menu-item>Insects</button>
<button mat-menu-item>Molluscs</button>
<button mat-menu-item>Crustaceans</button>
<button mat-menu-item>Corals</button>
<button mat-menu-item>Arachnids</button>
<button mat-menu-item>Velvet worms</button>
<button mat-menu-item>Horseshoe crabs</button>
</mat-menu>
</nested-menu-example>
<div class="box1"
cdkDropList
#image="cdkDropList"
[cdkDropListConnectedTo]="[nextblock]"
(cdkDropListDropped)="drop($event)"
[cdkDropListData]="url">
<input type="file" (change)="fileChange($event)" placeholder="Upload file" >
<img #filter id="blah" [src]="url" alt="your image" cdkDrag/>
</div>
<div
class="box2"
cdkDropList
#nextblock="cdkDropList"
[cdkDropListConnectedTo]="[image]"
[cdkDropListData]="[filter2]"
(cdkDropListDropped)="drop($event)"
(cdkDropListEntered)="setColor()">
<img #filter2>
</div>
<div class="box2">Box 2</div>
<div class="box2">Box 3</div>