More work on docs

This commit is contained in:
David Botton 2020-12-19 23:25:18 -05:00
parent 3f53218e23
commit fc593ab061

View file

@ -53,10 +53,10 @@ application."
;; ((setf property) generic-function)
(style generic-function)
;; (set-style generic-function)
;; (setf style generic-function)
(attribute generic-function)
;; (set-attribute generic-function)
;; (setf attribute generic-function)
"CLOG-Obj - Low Level Creation"
(create-child generic-function)
@ -149,8 +149,8 @@ result. (Private)"))
(defmethod property ((obj clog-obj) property-name)
(jquery-query obj (format nil "prop('~A')" property-name)))
;; (defgeneric (setf property) (value obj property-name)
;; (:documentation "Set PROPERTY-NAME to VALUE for CLOG-OBJ"))
(defgeneric (setf property) (value obj property-name)
(:documentation "Setf PROPERTY-NAME to VALUE for CLOG-OBJ"))
(defmethod (setf property) (value (obj clog-obj) property-name)
(jquery-execute obj (format nil "prop('~A','~A')" property-name value)))
@ -165,8 +165,8 @@ result. (Private)"))
(defmethod style ((obj clog-obj) style-name )
(jquery-query obj (format nil "css('~A')" style-name)))
;;(defgeneric set-style (clog-obj style-name value)
;; (:documentation "Set STYLE-NAME to VALUE for CLOG-OBJ"))
(defgeneric (setf style) (value clog-obj style-name)
(:documentation "Setf STYLE-NAME to VALUE for CLOG-OBJ"))
(defmethod (setf style) (value (obj clog-obj) style-name)
(jquery-execute obj (format nil "css('~A','~A')" style-name value)))
@ -181,8 +181,8 @@ result. (Private)"))
(defmethod attribute ((obj clog-obj) attribute-name)
(jquery-query obj (format nil "attr('~A')" attribute-name)))
;;(defgeneric set-attribute (clog-obj attribute-name value)
;; (:documentation "Set ATTRIBUTE-NAME to VALUE for CLOG-OBJ"))
(defgeneric (setf attribute) (value clog-obj attribute-name)
(:documentation "Seft ATTRIBUTE-NAME to VALUE for CLOG-OBJ"))
(defmethod (setf attribute) (value (obj clog-obj) attribute-name)
(jquery-execute obj (format nil "attr('~A','~A')" attribute-name value)))