The built-in reset control (spec/05 §6.9), "macaw.reset": one button that takes the
page back to where it started, of kind :control, :pure (#453, macaw#446 need 5).
- parameters:
label(text,"Start over"), the button's words; - declarations: the event
"press", its placement's action the reset,%{on: "press", reset: :view}or%{on: "press", reset: :all}(spec/03 §1.3); - markup: live, a
<button type="button">with the event's wire; with no socket and the host's links, a reset that moves only URL-held state is a link to the page it gives (Macaw.Component.Client.link/3), and one that also clears a visitor's changes to a source's rows, a write held on the server, is a<form method="post">to the page's address carrying the event asmw, whichMacaw.State.submit/4applies (spec/13 §3.6); in:neutraland:print, its words alone; - stylesheet:
stylesheet/0, served atstylesheet_path/0, its content address.
Summary
Functions
The reset control's one static stylesheet, every color a theme custom property with the default theme's value as its fallback.
The stylesheet's path, its content address (Macaw.Component.Stylesheet.path/1).
Functions
@spec stylesheet() :: String.t()
The reset control's one static stylesheet, every color a theme custom property with the default theme's value as its fallback.
@spec stylesheet_path() :: String.t()
The stylesheet's path, its content address (Macaw.Component.Stylesheet.path/1).