These are chat archives for angular/material

2nd
Sep 2016
Kenichi Suzuki
@k-suzuki
Sep 02 2016 00:32
@jcvpacheco_twitter
Thank you for your reply.
Suraj Kamath
@surajkamath4sk
Sep 02 2016 09:50
hi
server.js file missing in a cloned repo. Wat to do ? i should connect to the local port so..
Darin Hensley
@dman777
Sep 02 2016 19:45
what does flex='' do?
Darin Hensley
@dman777
Sep 02 2016 20:28
@tarlepp Thanks! I checked it out and couldn't find any flex=''. Does it default to flex: none?
Tarmo Leppänen
@tarlepp
Sep 02 2016 20:30
@dman777 <div flex> === is same as the flex="100"
Darin Hensley
@dman777
Sep 02 2016 20:31
oh...ok. then flex='' === <div flex>, correct? just want to make sure...I try not to ever assume :)
Tarmo Leppänen
@tarlepp
Sep 02 2016 20:32
eg. <div layout="row"><div>left</div><div flex>center with all the space</div><div>right</div></<div>
Paul Gschwendtner
@devversion
Sep 02 2016 20:32
flex="" defaults to flex: 1 1 0% - It's can grow / shrink as much as it needs
Darin Hensley
@dman777
Sep 02 2016 20:33
:+1: nice, thanks!
Curious, Did I do this layout correctly? a left side nav and then the rest of the viewport on the right http://dpaste.com/0FWQD42
Paul Gschwendtner
@devversion
Sep 02 2016 20:41
I think it's a bit to complex with the layout="column"
Try having a column layout at its root to fill everything vertically
And then use a row layout to align the items horizontally
Darin Hensley
@dman777
Sep 02 2016 20:46
oh...ok. interesting.... didn't realize there was a md-content. thanks!
Darin Hensley
@dman777
Sep 02 2016 21:00
@DevVersion much cleaner and look great....thanks!
Paul Gschwendtner
@devversion
Sep 02 2016 21:00
You're welcome ;)