New widget-setup utility function, hideWhenNarrow.
authorMike Taylor <mike@indexdata.com>
Thu, 1 May 2014 16:01:37 +0000 (17:01 +0100)
committerMike Taylor <mike@indexdata.com>
Thu, 1 May 2014 16:01:37 +0000 (17:01 +0100)
commit87b2c72772dfc8cfcb820e52f40e0694e4bb2dd3
treedf46f4c83e475af622568cfaef4aeafe63b5631d
parentd74efb549c24e20fb3c42a61154f9c2bd3f47e83
New widget-setup utility function, hideWhenNarrow.
Teaches the widget to disappear when the window changes from wide to
narrow, and reappear when it changes from narrow to wide.
src/mkws-widget.js