angular2-material Questions

5

Solved

This example stays forever on the screen: snack-bar-demo.ts import {Component, ViewContainerRef} from '@angular/core'; import {MdSnackBar, MdSnackBarConfig} from '@angular/material'; @Component...

5

Solved

How can I change the color of selected option of mat-list-option? Right now I have something like this: Current list I want to change the color of whole option or card 'on select' to green. Some...

6

Solved

I have implemented the Angular 2 progress spinner from the below link https://github.com/angular/material2/tree/master/src/lib/progress-spinner I would like to have it centered, however, the only...
Martella asked 29/12, 2016 at 22:31

2

Solved

I'm trying to write a test for my mat-menu in my application's toolbar. When I call button.click() in my test, I get a Cannot read property 'templateRef' of undefined error in the console. As all ...
Luftwaffe asked 10/8, 2018 at 10:57

3

Solved

I have an angular2 application using the Angular2-material library for styling. I'm trying to add a FAB (Floating Action Button) to hover in the right corner of the application, but it's fixing its...
Shad asked 6/12, 2016 at 0:49

5

i would like to open the md-sidenav on large screen and close it on mobile device. What would be the right way to do it inside my application? Is there any possibility to query the media inside an...
Duro asked 29/10, 2016 at 16:10

1

I want to make an autocomplete component which makes requests to the server and renders the received values on the screen. I'm trying to understand how the portal and overlay work. Right now this i...
Decompress asked 19/1, 2017 at 18:37

1

Solved

I am implementing the dialog component of material2 and faced this issue: I want to make a generic dialog for all the confirmation type of messages, where developer can input the text to the ...
Statism asked 28/12, 2016 at 7:6

6

I just moved to angular-cli 1.0.0-beta.11-webpack.2 There are so many annoying things but the biggest problem which I`m facing is with external css files (probably I will have the problem with js f...
Caeoma asked 18/8, 2016 at 11:44

2

Solved

I have this input which are created dynamically from list column, now I need to get all values of the inputs when some method occurs( imagine getAllValues() ) <div *ngFor="let cell of column; ...

1

Solved

I have an Angular 2 Material app that uses the <md-sidenav-layout> with an <md-toolbar> inside. <md-sidenav-layout> <md-sidenav #sidenav mode="side" class="app-sidenav" opene...
Placer asked 25/9, 2016 at 4:58

1

Solved

I am going through the example of Angular2 Material and I see that all Material modules are imported in the root module using the forRoot() method. So in my app I do the same. Now I need to use so...
Transport asked 23/9, 2016 at 15:49

3

Solved

I am using @angular-2.0.0-rc.5, @angular2-material 2.0.0-alpha.7-4 & Angular-CLI 1.0.0-beta.11-webpack.2 When I try to compile it throws an error, Cannot find name 'HammerManager'. Please se...
Donaugh asked 23/8, 2016 at 6:39

2

Solved

Shouldn't imports on the root level be available globally (With globally I mean to all sub-modules and components)? I have the following root/app module : import { BrowserModule } from '@angular/...
Gherkin asked 26/8, 2016 at 6:37
1

© 2022 - 2024 — McMap. All rights reserved.