zng_wgt_scroll::cmd

Static 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:

metadatavalue
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.