diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-01-13 22:47:46 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-01-13 22:47:46 +0100 |
commit | 341e5a65a7b36e1f70ed9e6c2ae4f5b18c083b5b (patch) | |
tree | 6f01775b070e61b50cb88c757672aef6bbbfe4f4 /doc/ref/javascript/draggable.texi | |
parent | Split javascript doc into multiple files. (diff) | |
download | calp-341e5a65a7b36e1f70ed9e6c2ae4f5b18c083b5b.tar.gz calp-341e5a65a7b36e1f70ed9e6c2ae4f5b18c083b5b.tar.xz |
Doc work.
Diffstat (limited to '')
-rw-r--r-- | doc/ref/javascript/draggable.texi | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/doc/ref/javascript/draggable.texi b/doc/ref/javascript/draggable.texi index e91d12f7..689dd005 100644 --- a/doc/ref/javascript/draggable.texi +++ b/doc/ref/javascript/draggable.texi @@ -1,4 +1,24 @@ - @node dragable @section dragable.js +@c TODO This text is just yanked from the old org file, along with the +@c source codes header. It should probably be rewritten. + +Manually apply =bind_popup_control= to the statusbar of a floating +"window". Nothing is required from the component, but the "window" +must have 'popup-container' ∈ =class= + +@defun bind_popup_control nav +Apply to a given component to make it draggable. +Drag area (usually a title bar) should be be the only argument. +It is REQUIRED that the object which should be moved have the class +@code{popup-container}. + +@example +<div class='popup-container'> + ... + <nav /> + ... +</div> +@end example +@end defun |