Documentation
¶
Index ¶
- func Accept(v string) weaver.Node
- func AcceptCharset(v string) weaver.Node
- func AccessKey(v string) weaver.Node
- func Action(v string) weaver.Node
- func Alt(v string) weaver.Node
- func Async(enabled bool) weaver.Node
- func AutoComplete(v string) weaver.Node
- func Autocapitalize(v string) weaver.Node
- func Autofocus(enabled bool) weaver.Node
- func Autoplay(enabled bool) weaver.Node
- func Capture(v string) weaver.Node
- func Charset(v string) weaver.Node
- func Checked(enabled bool) weaver.Node
- func Cite(v string) weaver.Node
- func Class(v string) weaver.Node
- func ColSpan(v string) weaver.Node
- func Cols(v string) weaver.Node
- func Content(v string) weaver.Node
- func ContentEditable(v string) weaver.Node
- func Controls(enabled bool) weaver.Node
- func Coords(v string) weaver.Node
- func CrossOrigin(v string) weaver.Node
- func Data(key, v string) weaver.Node
- func DateTime(v string) weaver.Node
- func Decoding(v string) weaver.Node
- func Default(enabled bool) weaver.Node
- func Defer(enabled bool) weaver.Node
- func Dir(v string) weaver.Node
- func Disabled(enabled bool) weaver.Node
- func Download(v string) weaver.Node
- func Draggable(v string) weaver.Node
- func Enctype(v string) weaver.Node
- func EnterKeyHint(v string) weaver.Node
- func For(v string) weaver.Node
- func Form(v string) weaver.Node
- func FormAction(v string) weaver.Node
- func FormEnctype(v string) weaver.Node
- func FormMethod(v string) weaver.Node
- func FormNoValidate(enabled bool) weaver.Node
- func FormTarget(v string) weaver.Node
- func HTTPEquiv(v string) weaver.Node
- func Headers(v string) weaver.Node
- func Height(v string) weaver.Node
- func Hidden(enabled bool) weaver.Node
- func High(v string) weaver.Node
- func Href(v string) weaver.Node
- func HrefLang(v string) weaver.Node
- func ID(v string) weaver.Node
- func Inert(enabled bool) weaver.Node
- func InputMode(v string) weaver.Node
- func Integrity(v string) weaver.Node
- func IsMap(v string) weaver.Node
- func Kind(v string) weaver.Node
- func Label(v string) weaver.Node
- func Lang(v string) weaver.Node
- func List(v string) weaver.Node
- func Loading(v string) weaver.Node
- func Loop(v string) weaver.Node
- func Low(v string) weaver.Node
- func Max(v string) weaver.Node
- func MaxLength(v string) weaver.Node
- func Media(v string) weaver.Node
- func Method(v string) weaver.Node
- func Min(v string) weaver.Node
- func MinLength(v string) weaver.Node
- func Multiple(enabled bool) weaver.Node
- func Muted(enabled bool) weaver.Node
- func Name(v string) weaver.Node
- func NoModule(v string) weaver.Node
- func NoValidate(enabled bool) weaver.Node
- func Nonce(v string) weaver.Node
- func Open(enabled bool) weaver.Node
- func Optimum(v string) weaver.Node
- func Pattern(v string) weaver.Node
- func Ping(v string) weaver.Node
- func Placeholder(v string) weaver.Node
- func PlaysInline(enabled bool) weaver.Node
- func Popover(v string) weaver.Node
- func Poster(v string) weaver.Node
- func Preload(v string) weaver.Node
- func ReadOnly(enabled bool) weaver.Node
- func ReferrerPolicy(v string) weaver.Node
- func Rel(v string) weaver.Node
- func Required(enabled bool) weaver.Node
- func Reversed(enabled bool) weaver.Node
- func RowSpan(v string) weaver.Node
- func Rows(v string) weaver.Node
- func Sandbox(v string) weaver.Node
- func Scope(v string) weaver.Node
- func Selected(enabled bool) weaver.Node
- func Shape(v string) weaver.Node
- func Size(v string) weaver.Node
- func Sizes(v string) weaver.Node
- func Span(v string) weaver.Node
- func Spellcheck(v string) weaver.Node
- func Src(v string) weaver.Node
- func SrcDoc(v string) weaver.Node
- func SrcLang(v string) weaver.Node
- func SrcSet(v string) weaver.Node
- func Start(v string) weaver.Node
- func Step(v string) weaver.Node
- func Style(v string) weaver.Node
- func TabIndex(v string) weaver.Node
- func Target(v string) weaver.Node
- func Title(v string) weaver.Node
- func Translate(v string) weaver.Node
- func Type(v string) weaver.Node
- func UseMap(v string) weaver.Node
- func Value(v string) weaver.Node
- func Width(v string) weaver.Node
- func Wrap(v string) weaver.Node
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Accept ¶
Accept sets the accept attribute, defining the types of files that the server accepts.
func AcceptCharset ¶
AcceptCharset sets the accept-charset attribute, specifying the character encodings used for form submission.
func AccessKey ¶
AccessKey sets the accesskey attribute, providing a hint for generating a keyboard shortcut for the element.
func Action ¶
Action sets the action attribute, defining the URL that processes the form submission.
func Async ¶
Async sets the async attribute, indicating that the script should be executed asynchronously.
func AutoComplete ¶
AutoComplete sets the autocomplete attribute, specifying whether the control's value can be automatically completed by the browser.
func Autocapitalize ¶
Autocapitalize sets the autocapitalize attribute, controlling whether and how text input is automatically capitalized.
func Autofocus ¶
Autofocus sets the autofocus attribute, indicating that the element should be focused on page load.
func Autoplay ¶
Autoplay sets the autoplay attribute, specifying that the media should automatically start playing.
func Capture ¶
Capture sets the capture attribute, specifying which camera or microphone to use for media capture.
func Charset ¶
Charset sets the charset attribute, declaring the character encoding of the document.
func Checked ¶
Checked sets the checked attribute, indicating that the checkbox or radio control is checked.
func Cite ¶
Cite sets the cite attribute, specifying a URL that points to the source of a quotation or edit.
func ColSpan ¶
ColSpan sets the colspan attribute, defining the number of columns a cell should span.
func Cols ¶
Cols sets the cols attribute, specifying the visible width of a text area in average character widths.
func Content ¶
Content sets the content attribute, giving the value associated with the http-equiv or name attribute.
func ContentEditable ¶
ContentEditable sets the contenteditable attribute, indicating whether the element's content is editable.
func Controls ¶
Controls sets the controls attribute, displaying playback controls for the media element.
func CrossOrigin ¶
CrossOrigin sets the crossorigin attribute, indicating whether the fetch of the resource should be done using a CORS request.
func Decoding ¶
Decoding sets the decoding attribute, providing a hint on how the browser should decode the image.
func Default ¶
Default sets the default attribute, specifying that a track is to be enabled if user preferences don't indicate otherwise.
func Defer ¶
Defer sets the defer attribute, indicating that the script should be executed after the document has been parsed.
func Download ¶
Download sets the download attribute, instructing the browser to download the URL instead of navigating to it.
func Draggable ¶
Draggable sets the draggable attribute, indicating whether the element can be dragged.
func Enctype ¶
Enctype sets the enctype attribute, defining the encoding type used when submitting the form.
func EnterKeyHint ¶
EnterKeyHint sets the enterkeyhint attribute, defining what action label (or icon) to present for the enter key on virtual keyboards.
func FormAction ¶
FormAction sets the formaction attribute, specifying the URL that processes form submission for this element.
func FormEnctype ¶
FormEnctype sets the formenctype attribute, specifying the encoding type for form submission for this element.
func FormMethod ¶
FormMethod sets the formmethod attribute, specifying the HTTP method for form submission for this element.
func FormNoValidate ¶
FormNoValidate sets the formnovalidate attribute, indicating that the form shouldn't be validated when submitted by this element.
func FormTarget ¶
FormTarget sets the formtarget attribute, specifying where to display the response after submitting the form for this element.
func HTTPEquiv ¶
HTTPEquiv sets the http-equiv attribute, defining a pragma directive for processing the document.
func Headers ¶
Headers sets the headers attribute, establishing a relationship between table cells and headers.
func Height ¶
Height sets the height attribute, specifying the intrinsic height of the element in pixels.
func Hidden ¶
Hidden sets the hidden attribute, indicating that the element is not yet, or is no longer, relevant.
func High ¶
High sets the high attribute, defining the lower bound of the high range for a meter element.
func HrefLang ¶
HrefLang sets the hreflang attribute, specifying the human language of the linked resource.
func Inert ¶
Inert sets the inert attribute, causing the browser to ignore input events for the element.
func InputMode ¶
InputMode sets the inputmode attribute, providing a hint as to the type of virtual keyboard configuration to use.
func Integrity ¶
Integrity sets the integrity attribute, containing inline metadata used to verify the fetched resource.
func Label ¶
Label sets the label attribute, specifying a user-readable title for the track or option group.
func Lang ¶
Lang sets the lang attribute, specifying the primary language for the element's contents.
func List ¶
List sets the list attribute, identifying the datalist element containing suggested values.
func Loading ¶
Loading sets the loading attribute, indicating how the browser should load the image/iframe.
func Loop ¶
Loop sets the loop attribute, causing the media element to start over when reaching the end.
func Low ¶
Low sets the low attribute, defining the upper bound of the low range for a meter element.
func MaxLength ¶
MaxLength sets the maxlength attribute, defining the maximum number of characters allowed.
func Media ¶
Media sets the media attribute, specifying the media type that the linked resource applies to.
func Method ¶
Method sets the method attribute, specifying the HTTP method to use when submitting the form.
func MinLength ¶
MinLength sets the minlength attribute, defining the minimum number of characters allowed.
func Multiple ¶
Multiple sets the multiple attribute, indicating that multiple values can be entered/selected.
func Muted ¶
Muted sets the muted attribute, indicating that the audio output of the media should be silenced.
func NoModule ¶
NoModule sets the nomodule attribute, preventing the script from executing in browsers that support ES modules.
func NoValidate ¶
NoValidate sets the novalidate attribute, indicating that the form should not be validated when submitted.
func Nonce ¶
Nonce sets the nonce attribute, defining a cryptographic nonce used by Content Security Policy.
func Open ¶
Open sets the open attribute, indicating that the disclosure widget is currently visible.
func Optimum ¶
Optimum sets the optimum attribute, defining the optimal numeric value for a meter element.
func Pattern ¶
Pattern sets the pattern attribute, specifying a regular expression that the control's value must match.
func Ping ¶
Ping sets the ping attribute, specifying a space-separated list of URLs to be notified if the user follows the hyperlink.
func Placeholder ¶
Placeholder sets the placeholder attribute, giving a hint to the user of what can be entered in the control.
func PlaysInline ¶
PlaysInline sets the playsinline attribute, specifying that video should play inline within the element's playback area.
func Poster ¶
Poster sets the poster attribute, specifying an image to be shown while the video is downloading.
func Preload ¶
Preload sets the preload attribute, providing a hint to the browser about how the media should be loaded.
func ReadOnly ¶
ReadOnly sets the readonly attribute, indicating that the form control cannot be edited by the user.
func ReferrerPolicy ¶
ReferrerPolicy sets the referrerpolicy attribute, specifying which referrer to use when fetching the resource.
func Rel ¶
Rel sets the rel attribute, specifying the relationship of the linked document to the current document.
func Required ¶
Required sets the required attribute, indicating that the user must specify a value for the input before submitting the form.
func Reversed ¶
Reversed sets the reversed attribute, specifying that list items should be numbered in reverse order.
func Sandbox ¶
Sandbox sets the sandbox attribute, applying extra restrictions to the content in the iframe.
func Selected ¶
Selected sets the selected attribute, indicating that the option is currently selected.
func Spellcheck ¶
Spellcheck sets the spellcheck attribute, defining whether the element may be checked for spelling errors.
func SrcDoc ¶
SrcDoc sets the srcdoc attribute, specifying the HTML content of the page to show in the inline frame.
func SrcSet ¶
SrcSet sets the srcset attribute, defining a list of image candidates for varying display densities or screens.
func Style ¶
Style sets the style attribute, containing CSS styling declarations to be applied to the element.
func TabIndex ¶
TabIndex sets the tabindex attribute, indicating if the element can take input focus.
func Title ¶
Title sets the title attribute, containing text representing advisory information related to the element.
func Translate ¶
Translate sets the translate attribute, specifying whether an element's attribute values and direct text child nodes should be translated.
Types ¶
This section is empty.