mirror of
https://github.com/penpot/penpot.git
synced 2025-07-28 09:17:30 +02:00
✨ Show current page in browser title
This commit is contained in:
parent
0008a2aa48
commit
6383dc0952
16 changed files with 202 additions and 15 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue