2013-12-12 18:16:16 +00:00
|
|
|
created: 20131212175656755
|
|
|
|
modified: 20131212180213909
|
2014-09-11 19:12:25 +00:00
|
|
|
tags: Mechanisms
|
2013-12-12 18:16:16 +00:00
|
|
|
title: PopupMechanism
|
|
|
|
type: text/vnd.tiddlywiki
|
|
|
|
|
|
|
|
The popup mechanism allows blocks of content to be selectively displayed and positioned with respect to an anchor. It has several parts:
|
|
|
|
|
|
|
|
* StateTiddlers to record whether a popup is currently displayed or not
|
|
|
|
* The RevealWidget to selectively display the popup content
|
|
|
|
* The ButtonWidget to trigger the display of the popup by setting the state tiddler appropriately
|
|
|
|
|
|
|
|
|