diff --git a/clog-helpers.lisp b/clog-helpers.lisp
index 726aa75..96a6826 100644
--- a/clog-helpers.lisp
+++ b/clog-helpers.lisp
@@ -8,10 +8,6 @@
(cl:in-package :clog)
-(defpackage #:clog-user
- (:use #:cl #:clog)
- (:export start-tutorial start-demo))
-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Implementation - CLOG Utilities
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@@ -42,7 +38,7 @@
(defun run-tutorial (num)
"Run tutorial NUM"
(load-tutorial num)
- (clog-user:start-tutorial))
+ (funcall (symbol-function (find-symbol "START-TUTORIAL" "CLOG-USER"))))
;;;;;;;;;;;;;;;;;;;
;; load-tutorial ;;
@@ -62,7 +58,7 @@
(defun run-demo (num)
"Run demo NUM"
(load-demo num)
- (clog-user:start-demo))
+ (funcall (symbol-function (find-symbol "START-DEMO" "CLOG-USER"))))
;;;;;;;;;;;;;;;
;; load-demo ;;
diff --git a/demos/01-demo.lisp b/demos/01-demo.lisp
index fa9af58..b2a14aa 100644
--- a/demos/01-demo.lisp
+++ b/demos/01-demo.lisp
@@ -47,7 +47,6 @@
Use the arrow keys or a,w,s,d for direction keys.
"))
(ticker (create-span splash)))
-
(setf (width splash) "100%")
(setf (text-alignment splash) :center)
(dotimes (n 10)
@@ -58,19 +57,16 @@
(defun paint (body cx app)
(let ((game-over nil)
(head-cell (car (snake app))))
-
(flet ((draw-segment (cell)
(fill-rect cx
(* (car cell) segment-size)
(* (cadr cell) segment-size)
segment-size
segment-size))
-
(self-collision ()
(dolist (cell (snake app))
(when (equal cell head-cell)
(return t)))))
-
(cond ((eq :right (snake-direction app))
(setf head-cell (list (1+ (car head-cell))
(cadr head-cell))))
@@ -83,14 +79,11 @@
((eq :down (snake-direction app))
(setf head-cell (list (car head-cell)
(1+ (cadr head-cell))))))
-
-
(cond ((or (< (car head-cell) 0)
(< (cadr head-cell) 0)
(>= (* (car head-cell) segment-size) display-width)
(>= (* (cadr head-cell) segment-size) display-height)
(self-collision))
-
(fill-style cx :red)
(font-style cx "bold 20px sans-serif")
(fill-text cx "GAME OVER" 30 30)
@@ -101,35 +94,26 @@
(push head-cell (snake app))
(dolist (cell (snake app))
(draw-segment cell))
-
(fill-style cx :white)
-
(cond ((equal head-cell (food app))
-
(fill-text cx (format nil "Score: ~A" (score app))
5 (- display-height 15))
(setf (score app) (+ (score app) 10))
-
(fill-style cx :green)
(fill-text cx (format nil "Score: ~A" (score app))
5 (- display-height 15))
-
(play-media (create-audio body :source "/demo/eat.wav" :controls nil))
-
(setf (food app) (new-food)))
(t
(draw-segment (car (last (snake app))))
- (setf (snake app) (butlast (snake app)))))
-
+ (setf (snake app) (butlast (snake app)))))
(fill-style cx :brown)
- (draw-segment (food app))))
-
+ (draw-segment (food app))))
game-over)))
(defun on-key-down (obj event)
(let ((app (connection-data-item obj "app-data"))
(key-code (getf event :key-code)))
-
(cond ((or (eql key-code 65) (eql key-code 37)) (setf (snake-direction app) :left))
((or (eql key-code 87) (eql key-code 38)) (setf (snake-direction app) :up))
((or (eql key-code 83) (eql key-code 40)) (setf (snake-direction app) :down))
@@ -155,35 +139,29 @@
(up-btn (create-button controls :content "-^-"))
(down-btn (create-button controls :content "-v-"))
context)
-
+ (declare (ignore br))
;; Initialize display
- (setf (background-color body) :orange)
-
+ (setf (background-color body) :orange)
(setf (display disp) :block)
(setf (background-color disp) :white)
(set-margin disp :auto :auto :auto :auto)
(set-border disp :thin :solid :white)
(setf (border-radius disp) "10px")
(setf (box-shadow disp) "3px 3px 5px")
-
;; Initialize snake
(dotimes (n initial-length)
(push (list n 0) (snake app)))
-
(setf context (create-context2d disp))
(font-style context "normal 20px sans-serif")
(fill-style context :green)
(fill-text context (format nil "Score: ~A" (score app))
5 (- display-height 15))
-
(set-on-key-down body #'on-key-down)
(set-on-click left-btn #'on-click)
(set-on-click right-btn #'on-click)
(set-on-click up-btn #'on-click)
(set-on-click down-btn #'on-click)
-
(play-media (create-audio body :source "/demo/start.wav" :controls nil))
-
;; Game loop
(loop
(unless (validp body) (return))
@@ -193,12 +171,10 @@
(defun on-new-window (body)
(let ((app (make-instance 'app-data)))
(setf (connection-data-item body "app-data") app))
-
(display-splash body)
(start-game body))
(defun start-demo ()
"Start demo."
-
(initialize #'on-new-window)
(open-browser))
diff --git a/demos/02-demo.lisp b/demos/02-demo.lisp
index beda948..c95d2f5 100644
--- a/demos/02-demo.lisp
+++ b/demos/02-demo.lisp
@@ -9,6 +9,7 @@
(defun send-message (user msg)
(maphash (lambda (key value)
+ (declare (ignore key))
(create-span value :content (format nil "~A : ~A
" user msg))
(setf (scroll-top value) (scroll-height value)))
*global-list-box-hash*))
@@ -16,18 +17,15 @@
(defun on-new-window (body)
(load-css (html-document body) "/css/w3.css")
(setf (title (html-document body)) "CLOG Chat")
-
+
(let* ((backdrop (create-div body :class "w3-container w3-cyan"))
-
(form-box (create-div backdrop :class "w3-container w3-white"))
-
(start-form (create-form form-box))
(caption (create-section start-form :h3 :content "Sign In"))
(name-entry (create-form-element start-form :input :label
(create-label start-form :content "Chat Handle:")))
(ok-button (create-button start-form :content "OK"))
(tmp (create-p start-form))
-
(chat-box (create-form form-box))
(tmp (create-br chat-box))
(messages (create-div chat-box))
@@ -36,42 +34,37 @@
(out-ok (create-button chat-box :content "OK"))
(tmp (create-p chat-box))
(user-name))
-
+ (declare (ignore caption)(ignore tmp))
(setf (hiddenp chat-box) t)
-
(setf (background-color backdrop) :blue)
(setf (height backdrop) "100vh")
(setf (display backdrop) :flex)
(setf (justify-content backdrop) :center)
(setf (align-items backdrop) :center)
-
(setf (background-color form-box) :white)
(setf (display backdrop) :flex)
(setf (justify-content backdrop) :center)
(setf (width form-box) "60vh")
-
(setf (height messages) "70vh")
(setf (width messages) "100%")
(set-border messages :thin :solid :black)
(setf (overflow messages) :scroll)
-
(set-on-click ok-button
(lambda (obj)
+ (declare (ignore obj))
(setf (hiddenp start-form) t)
(setf user-name (value name-entry))
(setf (gethash user-name *global-list-box-hash*) messages)
(setf (hiddenp chat-box) nil)))
-
(set-on-click out-ok
(lambda (obj)
+ (declare (ignore obj))
(send-message user-name (value out-entry))
(setf (value out-entry) "")))
-
(run body)
(remhash user-name *global-list-box-hash*)))
(defun start-demo ()
"Start demo."
-
(initialize #'on-new-window)
(open-browser))
diff --git a/doc/clog-manual.html b/doc/clog-manual.html
index a51ea06..7c29749 100644
--- a/doc/clog-manual.html
+++ b/doc/clog-manual.html
@@ -349,6 +349,14 @@ function. If BOOT-FILE is nil path is removed.
Shutdown CLOG.
[function] DEBUG-MODE OBJ
+ +Turn on browser console debugging for OBJ's connection.
@@ -974,11 +982,11 @@ element objects.
[generic-function] CREATE-CHILD CLOG-OBJ HTML &KEY AUTO-PLACE CLOG-TYPE
+[generic-function] CREATE-CHILD CLOG-OBJ HTML &KEY HTML-ID AUTO-PLACE CLOG-TYPE
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
CLOG-OBJ. If HTML-ID is nil one will be generated.
HTML elemen.
[generic-function] CREATE-A CLOG-OBJ &KEY LINK CONTENT TARGET CLASS AUTO-PLACE
+[generic-function] CREATE-A CLOG-OBJ &KEY LINK CONTENT TARGET CLASS HTML-ID AUTO-PLACE
Create a new CLOG-A as child of CLOG-OBJ with :LINK and
:CONTENT (default "") and :TARGET ("_self") and if :AUTO-PLACE (default t)
@@ -2355,7 +2363,7 @@ place-inside-bottom-of CLOG-OBJ.
[generic-function] CREATE-BR CLOG-OBJ &KEY CLASS AUTO-PLACE
+[generic-function] CREATE-BR CLOG-OBJ &KEY CLASS HTML-ID AUTO-PLACE
Create a new CLOG-BR as child of CLOG-OBJ that creates a
line break and if :AUTO-PLACE (default t) place-inside-bottom-of CLOG-OBJ
:AUTO-PLACE (default t) place-inside-bottom-of [generic-function] CREATE-BUTTON CLOG-OBJ &KEY CONTENT CLASS AUTO-PLACE
+[generic-function] CREATE-BUTTON CLOG-OBJ &KEY CONTENT CLASS HTML-ID AUTO-PLACE
Create a new CLOG-Button as child of CLOG-OBJ with :CONTENT
(default "") and if :AUTO-PLACE (default t) place-inside-bottom-of
@@ -2402,7 +2410,7 @@ line break and if :AUTO-PLACE (default t) place-inside-bottom-of
[generic-function] CREATE-IMG CLOG-OBJ &KEY URL-SRC ALT-TEXT CLASS AUTO-PLACE
+[generic-function] CREATE-IMG CLOG-OBJ &KEY URL-SRC ALT-TEXT CLASS HTML-ID AUTO-PLACE
Create a new CLOG-Img as child of CLOG-OBJ with :URL-SRC
(default "") and :ALT-TEXT (default "") if :AUTO-PLACE (default t)
@@ -2431,7 +2439,7 @@ placing image to constrain image size.
[generic-function] CREATE-DIV CLOG-OBJ &KEY CONTENT CLASS AUTO-PLACE
+[generic-function] CREATE-DIV CLOG-OBJ &KEY CONTENT CLASS HTML-ID AUTO-PLACE
Create a new CLOG-Div as child of CLOG-OBJ with :CONTENT
(default "") and if :AUTO-PLACE (default t) place-inside-bottom-of
@@ -2451,7 +2459,7 @@ placing image to constrain image size.
[generic-function] CREATE-HR CLOG-OBJ &KEY CLASS AUTO-PLACE
+[generic-function] CREATE-HR CLOG-OBJ &KEY CLASS HTML-ID AUTO-PLACE
Create a new CLOG-HR as child of CLOG-OBJ that creates a
horizontal rule (line) and if :AUTO-PLACE (default t) place-inside-bottom-of
@@ -2471,7 +2479,7 @@ horizontal rule (line) and if :AUTO-PLACE (default t) place-inside-
[generic-function] CREATE-METER CLOG-OBJ &KEY VALUE HIGH LOW MAXIMUM MINIMUM OPTIMUM CLASS AUTO-PLACE
+[generic-function] CREATE-METER CLOG-OBJ &KEY VALUE HIGH LOW MAXIMUM MINIMUM OPTIMUM CLASS HTML-ID AUTO-PLACE
Create a new CLOG-Meter as child of CLOG-OBJ with VALUE
(default 0) HIGH (default 100) LOW (default 0) MAXIMUM (default 100) MINIMUM
@@ -2542,7 +2550,7 @@ instead through the value property.
[generic-function] CREATE-PROGRESS-BAR CLOG-OBJ &KEY VALUE MAXIMUM CLASS AUTO-PLACE
+[generic-function] CREATE-PROGRESS-BAR CLOG-OBJ &KEY VALUE MAXIMUM CLASS HTML-ID AUTO-PLACE
Create a new CLOG-Progress-Bar as child of CLOG-OBJ with
VALUE (default 0) MAXIMUM (default 100) and if :AUTO-PLACE (default t)
@@ -2580,7 +2588,7 @@ instead through the value property.
[generic-function] CREATE-P CLOG-OBJ &KEY CONTENT CLASS AUTO-PLACE
+[generic-function] CREATE-P CLOG-OBJ &KEY CONTENT CLASS HTML-ID AUTO-PLACE
Create a new CLOG-P as child of CLOG-OBJ with :CONTENT
(default "") and if :AUTO-PLACE (default t) place-inside-bottom-of
@@ -2600,11 +2608,10 @@ instead through the value property.
[generic-function] CREATE-SPAN CLOG-OBJ &KEY CONTENT CLASS AUTO-PLACE
+[generic-function] CREATE-SPAN CLOG-OBJ &KEY CONTENT CLASS HTML-ID AUTO-PLACE
Create a new CLOG-Span as child of CLOG-OBJ with CONTENT
-and if :AUTO-PLACE (default t) place-inside-bottom-of
-CLOG-OBJ
:AUTO-PLACE (default t) place-inside-bottom-of CLOG-OBJCLOG-Section - Class for CLOG Inline Sections
:AUTO-PLACE (default t) place-inside-bottom-of
[generic-function] CREATE-SECTION CLOG-OBJ SECTION &KEY CONTENT CLASS AUTO-PLACE
+[generic-function] CREATE-SECTION CLOG-OBJ SECTION &KEY CONTENT CLASS HTML-ID AUTO-PLACE
Create a new CLOG-Section of section type as child of
CLOG-OBJ with CONTENT and if :AUTO-PLACE (default t) place-inside-bottom-of
@@ -2652,7 +2659,7 @@ and if :AUTO-PLACE (default t) place-inside-bottom-of
[generic-function] CREATE-PHRASE CLOG-OBJ PHRASE &KEY CONTENT CLASS AUTO-PLACE
+[generic-function] CREATE-PHRASE CLOG-OBJ PHRASE &KEY CONTENT CLASS HTML-ID AUTO-PLACE
Create a new CLOG-Phrase of phrase type as child of
CLOG-OBJ with CONTENT and if :AUTO-PLACE (default t) place-inside-bottom-of
@@ -2672,7 +2679,7 @@ and if :AUTO-PLACE (default t) place-inside-bottom-of
[generic-function] CREATE-ORDERED-LIST CLOG-OBJ &KEY CLASS AUTO-PLACE
+[generic-function] CREATE-ORDERED-LIST CLOG-OBJ &KEY CLASS HTML-ID AUTO-PLACE
Create a new CLOG-Ordered-List as child of CLOG-OBJ
and if :AUTO-PLACE (default t) place-inside-bottom-of CLOG-OBJ
[generic-function] CREATE-UNORDERED-LIST CLOG-OBJ &KEY CLASS AUTO-PLACE
+[generic-function] CREATE-UNORDERED-LIST CLOG-OBJ &KEY CLASS HTML-ID AUTO-PLACE
Create a new CLOG-Unordered-List as child of CLOG-OBJ
and if :AUTO-PLACE (default t) place-inside-bottom-of CLOG-OBJ
:AUTO-PLACE (default t) place-inside-bottom-of CLOG-OB
-[generic-function] CREATE-LIST-ITEM CLOG-OBJ &KEY CONTENT CLASS AUTO-PLACE
+[generic-function] CREATE-LIST-ITEM CLOG-OBJ &KEY CONTENT CLASS HTML-ID AUTO-PLACE
Create a new CLOG-List-Item as child of CLOG-OBJ
and if :AUTO-PLACE (default t) place-inside-bottom-of CLOG-OBJ
@@ -2766,7 +2773,7 @@ and if :AUTO-PLACE (default t) place-inside-bottom-of CLOG-OB
-[generic-function] CREATE-DEFINITION-LIST CLOG-OBJ &KEY CLASS AUTO-PLACE
+[generic-function] CREATE-DEFINITION-LIST CLOG-OBJ &KEY CLASS HTML-ID AUTO-PLACE
Create a new CLOG-Definition-List as child of CLOG-OBJ
and if :AUTO-PLACE (default t) place-inside-bottom-of CLOG-OBJ
@@ -2785,7 +2792,7 @@ and if :AUTO-PLACE (default t) place-inside-bottom-of CLOG-OB
-[generic-function] CREATE-TERM CLOG-DEFINITION-LIST &KEY CONTENT CLASS AUTO-PLACE
+[generic-function] CREATE-TERM CLOG-DEFINITION-LIST &KEY CONTENT CLASS HTML-ID AUTO-PLACE
Create a new CLOG-Term as child of CLOG-OBJ
and if :AUTO-PLACE (default t) place-inside-bottom-of CLOG-OBJ
@@ -2804,7 +2811,7 @@ and if :AUTO-PLACE (default t) place-inside-bottom-of [generic-function] CREATE-DESCRIPTION CLOG-DEFINITION-LIST &KEY CONTENT CLASS AUTO-PLACE
+[generic-function] CREATE-DESCRIPTION CLOG-DEFINITION-LIST &KEY CONTENT CLASS HTML-ID AUTO-PLACE
Create a new CLOG-Description as child of CLOG-OBJ
and if :AUTO-PLACE (default t) place-inside-bottom-of CLOG-OBJ
@@ -2823,7 +2830,7 @@ and if :AUTO-PLACE (default t) place-inside-bottom-of [generic-function] CREATE-TABLE CLOG-OBJ &KEY CLASS AUTO-PLACE
+[generic-function] CREATE-TABLE CLOG-OBJ &KEY CLASS HTML-ID AUTO-PLACE
Create a new CLOG-Table as child of CLOG-OBJ
and if :AUTO-PLACE (default t) place-inside-bottom-of CLOG-OBJ
@@ -2842,7 +2849,7 @@ and if :AUTO-PLACE (default t) place-inside-bottom-of CLOG-OB
-[generic-function] CREATE-TABLE-ROW CLOG-OBJ &KEY CLASS AUTO-PLACE
+[generic-function] CREATE-TABLE-ROW CLOG-OBJ &KEY CLASS HTML-ID AUTO-PLACE
Create a new CLOG-Table-Row as child of CLOG-OBJ
and if :AUTO-PLACE (default t) place-inside-bottom-of CLOG-OBJ
@@ -2861,7 +2868,7 @@ and if :AUTO-PLACE (default t) place-inside-bottom-of CLOG-OB
-[generic-function] CREATE-TABLE-COLUMN CLOG-OBJ &KEY CONTENT COLUMN-SPAN ROW-SPAN CLASS AUTO-PLACE
+[generic-function] CREATE-TABLE-COLUMN CLOG-OBJ &KEY CONTENT COLUMN-SPAN ROW-SPAN CLASS HTML-ID AUTO-PLACE
Create a new CLOG-Table-Column as child of CLOG-OBJ
and if :AUTO-PLACE (default t) place-inside-bottom-of CLOG-OBJ
@@ -2880,7 +2887,7 @@ and if :AUTO-PLACE (default t) place-inside-bottom-of CLOG-OB
-[generic-function] CREATE-TABLE-HEADING CLOG-OBJ &KEY CONTENT COLUMN-SPAN ROW-SPAN CLASS AUTO-PLACE
+[generic-function] CREATE-TABLE-HEADING CLOG-OBJ &KEY CONTENT COLUMN-SPAN ROW-SPAN CLASS HTML-ID AUTO-PLACE
Create a new CLOG-Table-Heading as child of CLOG-OBJ
and if :AUTO-PLACE (default t) place-inside-bottom-of CLOG-OBJ
@@ -2899,7 +2906,7 @@ and if :AUTO-PLACE (default t) place-inside-bottom-of CLOG-OB
-[generic-function] CREATE-TABLE-HEAD CLOG-OBJ &KEY CLASS AUTO-PLACE
+[generic-function] CREATE-TABLE-HEAD CLOG-OBJ &KEY CLASS HTML-ID AUTO-PLACE
Create a new CLOG-Table-Head as child of CLOG-OBJ
and if :AUTO-PLACE (default t) place-inside-bottom-of CLOG-OBJ
@@ -2918,7 +2925,7 @@ and if :AUTO-PLACE (default t) place-inside-bottom-of CLOG-OB
-[generic-function] CREATE-TABLE-BODY CLOG-OBJ &KEY CLASS AUTO-PLACE
+[generic-function] CREATE-TABLE-BODY CLOG-OBJ &KEY CLASS HTML-ID AUTO-PLACE
Create a new CLOG-Table-Body as child of CLOG-OBJ
and if :AUTO-PLACE (default t) place-inside-bottom-of CLOG-OBJ
@@ -2937,7 +2944,7 @@ and if :AUTO-PLACE (default t) place-inside-bottom-of CLOG-OB
-[generic-function] CREATE-TABLE-CAPTION CLOG-OBJ &KEY CONTENT CLASS AUTO-PLACE
+[generic-function] CREATE-TABLE-CAPTION CLOG-OBJ &KEY CONTENT CLASS HTML-ID AUTO-PLACE
Create a new CLOG-Table-Caption as child of CLOG-OBJ
and if :AUTO-PLACE (default t) place-inside-bottom-of CLOG-OBJ
@@ -2956,7 +2963,7 @@ and if :AUTO-PLACE (default t) place-inside-bottom-of CLOG-OB
-[generic-function] CREATE-TABLE-FOOTER CLOG-OBJ &KEY CLASS AUTO-PLACE
+[generic-function] CREATE-TABLE-FOOTER CLOG-OBJ &KEY CLASS HTML-ID AUTO-PLACE
Create a new CLOG-Table-Footer as child of CLOG-OBJ
and if :AUTO-PLACE (default t) place-inside-bottom-of CLOG-OBJ
@@ -2975,7 +2982,7 @@ and if :AUTO-PLACE (default t) place-inside-bottom-of CLOG-OB
-[generic-function] CREATE-TABLE-COLUMN-GROUP CLOG-OBJ &KEY CLASS AUTO-PLACE
+[generic-function] CREATE-TABLE-COLUMN-GROUP CLOG-OBJ &KEY CLASS HTML-ID AUTO-PLACE
Create a new CLOG-Table-Column-Group as child of CLOG-OBJ
and if :AUTO-PLACE (default t) place-inside-bottom-of CLOG-OBJ
@@ -2994,7 +3001,7 @@ and if :AUTO-PLACE (default t) place-inside-bottom-of CLOG-OB
-[generic-function] CREATE-TABLE-COLUMN-GROUP-ITEM CLOG-OBJ &KEY COLUMN-SPAN CLASS AUTO-PLACE
+[generic-function] CREATE-TABLE-COLUMN-GROUP-ITEM CLOG-OBJ &KEY COLUMN-SPAN CLASS HTML-ID AUTO-PLACE
Create a new CLOG-Table-Column-Group-Item as child of CLOG-OBJ
and if :AUTO-PLACE (default t) place-inside-bottom-of CLOG-OBJ
@@ -3051,7 +3058,7 @@ and if :AUTO-PLACE (default t) place-inside-bottom-of CLOG-OB
-[generic-function] CREATE-FORM CLOG-OBJ &KEY ACTION METHOD TARGET CLASS AUTO-PLACE
+[generic-function] CREATE-FORM CLOG-OBJ &KEY ACTION METHOD TARGET CLASS HTML-ID AUTO-PLACE
Create a new CLOG-Form as child of CLOG-OBJ that organizes
a collection of form elements in to a single form if :AUTO-PLACE (default t)
@@ -3127,7 +3134,7 @@ text/plain
-[generic-function] CREATE-FIELDSET CLOG-OBJ &KEY LEGEND
+[generic-function] CREATE-FIELDSET CLOG-OBJ &KEY LEGEND HTML-ID
Create a new clog-fieldset as child of CLOG-OBJ.
@@ -3152,7 +3159,7 @@ elements.
[generic-function] CREATE-FORM-ELEMENT CLOG-OBJ ELEMENT-TYPE &KEY NAME VALUE LABEL
+[generic-function] CREATE-FORM-ELEMENT CLOG-OBJ ELEMENT-TYPE &KEY NAME VALUE LABEL HTML-ID
Create a new clog-form-element as child of CLOG-OBJ.
It is importamt that clog-form-elements are a child or descendant of a
@@ -3406,7 +3413,7 @@ virtual keyboards.
[generic-function] CREATE-LABEL CLOG-OBJ &KEY CONTENT LABEL-FOR
+[generic-function] CREATE-LABEL CLOG-OBJ &KEY CONTENT LABEL-FOR HTML-ID
Create a new clog-label as child of CLOG-OBJ.
[generic-function] CREATE-SELECT CLOG-OBJ &KEY NAME MULTIPLE LABEL
+[generic-function] CREATE-SELECT CLOG-OBJ &KEY NAME MULTIPLE LABEL HTML-ID
Create a new clog-select as child of CLOG-OBJ.
[generic-function] CREATE-OPTION CLOG-OBJ &KEY CONTENT VALUE SELECTED DISABLED
+[generic-function] CREATE-OPTION CLOG-OBJ &KEY CONTENT VALUE SELECTED DISABLED HTML-ID
Create a new clog-option as child of CLOG-OBJ.
[generic-function] CREATE-OPTGROUP CLOG-OBJ &KEY CONTENT DISABLED
+[generic-function] CREATE-OPTGROUP CLOG-OBJ &KEY CONTENT DISABLED HTML-ID
Create a new clog-optgroup as child of CLOG-OBJ.
[generic-function] CREATE-DATA-LIST CLOG-OBJ &KEY DATA-LIST
+[generic-function] CREATE-DATA-LIST CLOG-OBJ &KEY DATA-LIST HTML-ID
Create a new clog-data-list as child of CLOG-OBJ and
optionally fill in with contents of data-list.
[generic-function] CREATE-TEXT-AREA CLOG-OBJ &KEY COLUMNS ROWS NAME VALUE LABEL
+[generic-function] CREATE-TEXT-AREA CLOG-OBJ &KEY COLUMNS ROWS NAME VALUE LABEL HTML-ID
Create a new clog-text-area as child of CLOG-OBJ.
[generic-function] PLAYBACK-ENDED-P CLOG-MULTIMEDIA
-Get/Setf true of Media position has reached end of its duration.
Get/Setf true of Media position has reached end of its +duration.
[generic-function] READY-TO-PLAY-P CLOG-MULTIMEDIA
-Get/Setf true of Media position has reached end of its duration.
Get/Setf true of Media position has reached end of its +duration.
[generic-function] CREATE-AUDIO CLOG-OBJ &KEY SOURCE CONTROLS PRELOAD AUTOPLAY AUTOLOOP MUTED AUTO-PLACE
+[generic-function] CREATE-AUDIO CLOG-OBJ &KEY SOURCE CONTROLS PRELOAD AUTOPLAY AUTOLOOP MUTED HTML-ID AUTO-PLACE
Create a CLOG Audio control
[generic-function] CREATE-VIDEO CLOG-OBJ &KEY SOURCE CONTROLS PRELOAD POSTER AUTOPLAY AUTOLOOP MUTED AUTO-PLACE
+[generic-function] CREATE-VIDEO CLOG-OBJ &KEY SOURCE CONTROLS PRELOAD POSTER AUTOPLAY AUTOLOOP MUTED HTML-ID AUTO-PLACE
Create a CLOG video control