Documentation
¶
Overview ¶
Package hidden defines the Hidden type and its predefined values.
Controls element visibility and findability. When set without a value the element is fully hidden from rendering. The until-found keyword hides the element but allows it to be discovered by find-in-page and fragment navigation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // True Element is fully hidden from rendering. The browser will not display the element // and it will not participate in layout or be accessible to assistive technologies. True = Hidden("true") // UntilFound Element is hidden but findable. The browser hides the element from rendering but // allows it to be revealed by find-in-page search or fragment URL navigation. When // found, the browser fires a beforematch event and removes the hidden attribute. UntilFound = Hidden("until-found") )
Variables for Hidden values
Functions ¶
This section is empty.
Types ¶
type Hidden ¶
type Hidden []byte
Hidden is a typed value for the HTML hidden attribute.
Controls element visibility and findability. When set without a value the element is fully hidden from rendering. The until-found keyword hides the element but allows it to be discovered by find-in-page and fragment navigation.
Click to show internal directories.
Click to hide internal directories.