DynaView plugin: make viewport dimensions available in state tiddlers (#3126)

* add export-viewport-dimensions functionality

* add config.tid

* add config to plugin.info list

* typo

* update docs.tid

* change default tiddler to $:/state/viewport

* change default to $:/state/viewport

* Update dynaview.js

* changes as discussed - lingo missing
This commit is contained in:
BurningTreeC
2018-02-18 13:04:35 +01:00
committed by Jeremy Ruston
parent cda43f2ef8
commit 042e9185a9
4 changed files with 21 additions and 3 deletions

View File

@@ -7,6 +7,7 @@ The components of this plugin include:
* A background task that:
** performs specified actions when elements are scrolled into view
** updates certain base classes on the `document.body` according to the current zoom level
** if enabled in the dynaview config panel - dynamically stores the viewport dimensions in $:/state/viewport/width and $:/state/viewport/height
* Pre-configured CSS classes to simplify using those base classes
* Usage examples