Show current page in browser title

This commit is contained in:
Andrés Moya 2021-03-22 13:41:12 +01:00 committed by Andrey Antukh
parent 0008a2aa48
commit 6383dc0952
16 changed files with 202 additions and 15 deletions

View file

@ -43,6 +43,10 @@
;; --- New methods
(defn set-html-title
[title]
(set! (.-title globals/document) title))
(defn get-element-by-class
([classname]
(dom/getElementByClass classname))