ChangeLog

0.5.0 (2022-12-10)

0.4.0 (2019-08-02)

0.3.0 (2018-05-18)

For example, you can update some progress bar's text with such code.

Add this as a dependency for your widget:

(weblocks-parenscript:make-dependency*
  `(setf (@ window command-handlers update-progress)
         (lambda (params)
           (let ((new-text (@ params new-text)))
              
             ;; Updating the text of the progress-bar
             (chain (j-query ".loading-progress")
                    (html new-text))))))

After that, you can call this handler from the server-side:

(weblocks.websocket:send-command 'update-progress
                                 :new-text "Processed 100500 items")

0.2.0 (2018-05-05)

0.1.1 (2017-10-07)

0.1.0 (2017-09-20)