created: 20231218192649874 modified: 20251212092210168 tags: RevealWidget title: RevealWidget (Popup Clamping Example) This example demonstrates the use of <<.attr positionAllowNegative>> and <<.attr clamp>> to clamp a popup inside its parent container. <<.attr clamp>>=<$select tiddler="$:/temp/clamp-demo-active" field="text" default="none"> $select> <$checkbox tiddler="$:/temp/clamp-demo-allow-negative" field="text" checked="yes" unchecked="no" default="no"> <<.attr positionAllowNegative>>$checkbox> <<.attr position>>=<$select tiddler="$:/temp/clamp-demo-position" field="text" default="below"> $select>