mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-06 18:40:56 -08:00
add new snippet 'snippets/toast' (like android 'Toast')
This commit is contained in:
parent
61831ba362
commit
a58948b9d0
6 changed files with 99 additions and 20 deletions
7
snippets/toast/run.lisp
Normal file
7
snippets/toast/run.lisp
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
(in-package :qml-user)
|
||||
|
||||
(defun toast (message)
|
||||
(qjs |message| "toast" message))
|
||||
|
||||
(qsingle-shot 1000 (lambda () (toast "You look tired, go get some coffee.")))
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue