• Changed Files
  • packages/views-dom/src/index.ts

[added] viewportDimensions$ to views-dom
ClosedPublic

Authored by appsforartists on Sep 8 2017, 4:54 PM.

Details

Summary

This is just a convenient way to access the current width and height of the viewport. I'd rather have it in the library than reimplement it in every demo.

Diff Detail

Repository
R13 material-motion/material-motion-js
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
appsforartists created this revision.Sep 8 2017, 4:54 PM
Restricted Application added a reviewer: O2: Material Motion. · View Herald TranscriptSep 8 2017, 4:54 PM
Restricted Application added a project: Material Motion. · View Herald Transcript
Restricted Application added a reviewer: O3: Material JavaScript platform reviewers. · View Herald Transcript
Restricted Application added a reviewer: Material Motion. · View Herald Transcript
Restricted Application completed building Restricted Buildable.Sep 8 2017, 4:57 PM
appsforartists edited the summary of this revision. (Show Details)Sep 19 2017, 6:37 PM
featherless accepted this revision.Sep 20 2017, 5:32 PM
This revision is now accepted and ready to land.Sep 20 2017, 5:32 PM
This revision was automatically updated to reflect the committed changes.