miso
Copyright(C) 2016-2026 David M. Johnson
LicenseBSD3-style (see the file LICENSE)
MaintainerDavid M. Johnson <code@dmj.io>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Miso.Native.X.Element.Refresh.Method

Contents

Description

 
Synopsis

Methods

autoStartRefresh :: MisoString -> action -> (MisoString -> action) -> Effect context props model action Source #

https://lynxjs.org/api/elements/built-in/refresh.html#autostartrefresh

When enable-refresh is true, exposes the entire <refresh-header>, triggering the startrefresh event.

autoStartRefresh "#myRefresh" Started StartFailed

finishRefresh :: MisoString -> action -> (MisoString -> action) -> Effect context props model action Source #

https://lynxjs.org/api/elements/built-in/refresh.html#finishrefresh

Called after the startrefresh event to end the refresh state, making the <refresh-header> rebound.

finishRefresh "#myRefresh" Finished FinishFailed