mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 02:30:42 -08:00
Merge pull request #398 from infinae/main
Add DETACH-FROM-DOM method to CLOG-ELEMENT
This commit is contained in:
commit
4bac089b18
1 changed files with 10 additions and 0 deletions
|
|
@ -2354,6 +2354,16 @@ is not stored in connection-data will become subject to browser-gc requests."))
|
||||||
(defmethod remove-from-dom ((obj clog-element))
|
(defmethod remove-from-dom ((obj clog-element))
|
||||||
(jquery-execute obj "remove()"))
|
(jquery-execute obj "remove()"))
|
||||||
|
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; detach-from-dom ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
(defgeneric detach-from-dom (clog-element)
|
||||||
|
(:documentation "Detach CLOG-Element from the DOM."))
|
||||||
|
|
||||||
|
(defmethod detach-from-dom ((obj clog-element))
|
||||||
|
(jquery-execute obj "detach()"))
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; remove-from-clog ;;
|
;; remove-from-clog ;;
|
||||||
;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue