Static zng_wgt_scroll::cmd::SCROLL_TO_TOP_CMD
source · pub static SCROLL_TO_TOP_CMD: Command
Expand description
Represents the scroll to top action.
§Metadata
This command has the following default metadata:
metadata | value |
---|---|
name | "Scroll to Top" |
info | "Scroll up to the content top" |
shortcut | [shortcut!(Home), shortcut!(CTRL+Home)] |
shortcut_filter | ShortcutFilter::FOCUSED | ShortcutFilter::CMD_ENABLED |
icon | wgt_fn!(|_| ICONS.get(["scroll-top", "vertical-align-top"])) |
Text metadata is localized.