mirror of
https://github.com/correl/elm-mdl.git
synced 2024-11-23 11:09:51 +00:00
Nicified demos.
This commit is contained in:
parent
215dffcf88
commit
aa08fcb272
1 changed files with 1 additions and 0 deletions
|
@ -520,6 +520,7 @@ view addr model { drawer, header, tabs, main } =
|
||||||
, contentDrawerButton
|
, contentDrawerButton
|
||||||
, main'
|
, main'
|
||||||
( class "mdl-layout__content"
|
( class "mdl-layout__content"
|
||||||
|
:: key ("elm-mdl-layout-" ++ toString model.selectedTab)
|
||||||
:: (
|
:: (
|
||||||
if isWaterfall model.mode then
|
if isWaterfall model.mode then
|
||||||
[ on "scroll" (DOM.target DOM.scrollTop) (Signal.message scrollMailbox.address) ]
|
[ on "scroll" (DOM.target DOM.scrollTop) (Signal.message scrollMailbox.address) ]
|
||||||
|
|
Loading…
Reference in a new issue