diff --git a/README.md b/README.md index 201f581..0b9747f 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ embedded in a native application.) - [CLOG - Reference Manual](https://rabbibotton.github.io/clog/clog-manual.html) -STATUS: CLOG and CLOG Builder 2.1 released. CLOG API Stable 4 years +STATUS: CLOG and CLOG Builder 2.2 released. CLOG API Stable 4 years The CLOG Builder is in 100% portable Common Lisp using the CLOG Framework. diff --git a/doc/clog-manual.html b/doc/clog-manual.html index 52f9456..6af1272 100644 --- a/doc/clog-manual.html +++ b/doc/clog-manual.html @@ -1203,7 +1203,8 @@ possible tag and keywords.
Create a new CLOG-ELEMENT or sub-type of CLOG-TYPE from HTML
as child of CLOG-OBJ and if :AUTO-PLACE (default t) place-inside-bottom-of
CLOG-OBJ, you can also set auto-place to :bottom or :top. If HTML-ID is nil one
-will be generated.
Remove CLOG-Element from the DOM on browser and clog cache on browser.
+ +[generic-function] BROWSER-GC CLOG-ELEMENT
+ +Remove any clog cache items on browser not in DOM. +If clog-connect:*browser-gc-on-ping* is set this is done during websocket pings. +Care should be taken as any clog-element not placed in the DOM will be deleted +on the browser side (for examle :auto-place nil set and not later placed.) +The main use is when clearing out large amounts of DOM objects not using CLOG +destroy.
CLOG-ELEMENT
[generic-function] PARENT-ELEMENT CLOG-ELEMENT
-Return a new clog-element represeting the parent of
-CLOG-ELEMENT.
Return a new clog-element represeting the parent of
+CLOG-ELEMENT. In most cases use PARENT, this creates an alias lisp object
+used for DOM tree walking or other throw away purposes.
HTML elemen.
Traverse to next sibling element. If Child does not have an
html id than Element_Type will have an ID of undefined and therefore attached
-to no actual HTML elemen.
HTML element.
[function] INPUT-DIALOG OBJ CONTENT ON-INPUT &KEY (MODAL T) (TIME-OUT NIL) (TITLE "Input") (SIZE 20) (ROWS 1) (PLACEHOLDER-VALUE "") (DEFAULT-VALUE "") (LEFT NIL) (TOP NIL) (WIDTH 300) (HEIGHT 200) (CLIENT-MOVEMENT NIL) (HTML-ID NIL)
[function] INPUT-DIALOG OBJ CONTENT ON-INPUT &KEY (MODAL T) (TIME-OUT NIL) (TITLE "Input") (SIZE 20) (ROWS 1) (PLACEHOLDER-VALUE "") (DEFAULT-VALUE "") IS-PASSWORD (LEFT NIL) (TOP NIL) (WIDTH 300) (HEIGHT 200) (CLIENT-MOVEMENT NIL) (HTML-ID NIL)
Create an input dialog box with CONTENT centered and an input box.
Calls on-input with input box contents or nil if canceled. If time-out
@@ -7137,7 +7151,7 @@ confirm continue execution on current thread or (break).
[macro] CLOG-PROBE SYMBOL &KEY CLOG-BODY (TITLE "") (TIME-OUT 600) TOP LEFT (WIDTH 400) (HEIGHT 300) AUTO-PROBE (MODAL T)
[macro] CLOG-PROBE SYMBOL &KEY CLOG-BODY (TITLE "") (TIME-OUT 600) TOP LEFT (WIDTH 400) (HEIGHT 300) AUTO-PROBE SAVE-VALUE (MODAL T)
Pause thread of execution for time-out numnber of seconds or nil to not block execution, display symbol's value, value is changed if OK pressed at @@ -7145,7 +7159,15 @@ the moment pressed. When time-out is nil, :q quits the probe and cancel repeats the probe with out changing value. When time-out is nil modal is always nil. If auto-probe is set, modal and time-out is set to nil and the probe is run again in auto-probe seconds. If not tile is set, the symbol is -used for title.
[variable] *PROBE* NIL
+ +Result value of a probe
[generic-function] RUN CLOG-BODY
-Keeps a connection thread alive to allow post -user close of connection / browser.
Keeps the original connection thread alive to allow post +user close of connection / browser. Run returns when the browser +connection has been severed, acting like an on-close event, only lisp objects +still exist at this point and no queries can be made to browser or +DOM elements.