Questions tagged [angular2-mdl]

angular2-mdl is a component library for angular 2 apps based on material design lite (getmdl.io).

Features and Benefits

  • Easy to use components and directives for angular 2
  • Components instead of css classes.
    • This will provide less errors and a better tool support.
    • The html code is shorter.
  • Possibibility to use the official mdl css from https://getmdl.io or the scss sources

Useful links


Related tags

68 questions
0
votes
1 answer

setDefaultViewContainerRef' does not exist on type MdlSnackbarService

I'm new in Angular. So I want to use the Snackbar from Angular Material Design Lite in my Project. I generated the Project with Angular-CLI and added MdlModule to my MgModule imports. i Just copy the code from the doc and get this error: Property…
0
votes
1 answer

EventEmitter in custom dialog component

I've got a custom dialog component and instead of using a service inside of the dialog component I want to use an event emitter and subscribe to that in the parent component. Is that something that's possible?
grizzm0
  • 33
  • 2
  • 7
0
votes
1 answer

Dialog width too small, any way to change it?

I'm using a Dialog as a Form Container but when I have many Fields or a long h3 title, it gets strange, since the width is small (280px). Is there a way to change it's width without having to change it's css? Maybe a width property?
0
votes
2 answers

Unexpected value X imported by the module Z when using flag --aot

My app is very slow until load finish when running on browser (I dare not speak about mobile uhhhh 10-15seconds) Yes, I do ng build --prod and it's still slow. So with angular cli beta 16 I try the new flag --aot And I get a lot of imports and…
istiti
  • 141
  • 1
  • 11
0
votes
1 answer

Use dialog is very complicated

It's very complicate to add this new dialog, it's the only component I'm not able to add myself. I don't know if I need to add something to my app.module.ts How create this dialog? I really don't understand there is a lot information…
istiti
  • 141
  • 1
  • 11
0
votes
1 answer

How to add custom dialog using angular2-mdl?

I am new to angular2 and im using angular2-mdl for my project. i tried to implement custom dialog given in the http://mseemann.io/angular2-mdl/dialogs but i am not to get it work. I am getting errors Cannot find name 'MdlDialogReference'. Property…
0
votes
1 answer

How to add select input box and textarea using angular2-mdl?

I am using angular2-mdl for my project and did not find any way to integrate textarea or select option. How to add select input box and textarea using angular2-mdl?
Onkar K
  • 1
  • 1
0
votes
1 answer

Unexpected value 'MdlModule' imported by the module 'AppModule'

Just started experiencing this error after moving from angular2 Rc.5 to Final. I don't know what might be causing it, but i think its from the angular2-mdl package. Would be happy if someone can help me out. Here is the complete error…
David Oti
  • 51
  • 6
1 2 3 4
5