From 34c12d524d3a9238e174864220ab04adaf0cd7d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Wed, 6 Jan 2021 01:16:11 +0100 Subject: Split javascript doc into multiple files. --- doc/ref/javascript/draggable.texi | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 doc/ref/javascript/draggable.texi (limited to 'doc/ref/javascript/draggable.texi') diff --git a/doc/ref/javascript/draggable.texi b/doc/ref/javascript/draggable.texi new file mode 100644 index 00000000..e91d12f7 --- /dev/null +++ b/doc/ref/javascript/draggable.texi @@ -0,0 +1,4 @@ + +@node dragable +@section dragable.js + -- cgit v1.2.3 From 341e5a65a7b36e1f70ed9e6c2ae4f5b18c083b5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Wed, 13 Jan 2021 22:47:46 +0100 Subject: Doc work. --- doc/ref/javascript/draggable.texi | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'doc/ref/javascript/draggable.texi') 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 + +@end example +@end defun -- cgit v1.2.3 From 3683d80b25bcecb9fe72ba336fda5d3e98459993 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sat, 9 Jan 2021 05:55:48 +0100 Subject: Move javascript doc down one level. --- doc/ref/javascript/draggable.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/ref/javascript/draggable.texi') diff --git a/doc/ref/javascript/draggable.texi b/doc/ref/javascript/draggable.texi index 689dd005..d1851ec4 100644 --- a/doc/ref/javascript/draggable.texi +++ b/doc/ref/javascript/draggable.texi @@ -1,5 +1,5 @@ @node dragable -@section dragable.js +@subsection 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. -- cgit v1.2.3