package sihl
The modular functional web framework
Install
Dune Dependency
Authors
Maintainers
Sources
sihl-queue-0.1.6.tbz
sha256=574c73c97ea0bc57144853b28df6125855a040ef0378f3bf180b4331dde93f9d
sha512=92c474ed3b6609395799f77259fc424af37dcad53095773ca2f2cdd4757a1607a5b53b6594cd7b6ddabeb40ebba67bb9544ff0f31dc228c87cfe015afa520aaa
doc/sihl.middleware/Middleware/Message/Make/argument-1-MessageService/index.html
Parameter Make.MessageService
val fetch_entry :
Core.Ctx.t ->
Session.t ->
Message__.Model.Entry.t option Lwt.t
val find_current :
Core.Ctx.t ->
Session.t ->
Message__.Model.Message.t option Lwt.t
val set_next :
Core.Ctx.t ->
Session.t ->
Message__.Model.Message.t ->
unit Lwt.t
val rotate : Core.Ctx.t -> Session.t -> Message__.Model.Message.t option Lwt.t
val current : Core.Ctx.t -> Session.t -> Message__.Model.Message.t option Lwt.t
val set :
Core.Ctx.t ->
Session.t ->
?error:string list ->
?warning:string list ->
?success:string list ->
?info:string list ->
unit ->
unit Lwt.t
Set flash message for the current session.
Flash messages can be used to transport information across request response lifecycles. The typical use case is giving a user feedback after a form submission.
Requires middlewares: Session & Message
val configure : Core.Configuration.data -> Core.Container.Service.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>