writingsuggestions

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package writingsuggestions defines the WritingSuggestions type and its predefined values.

Browser writing suggestions and corrections for text input elements. Controls whether browsers provide spelling, grammar, and writing assistance features.

Index

Constants

This section is empty.

Variables

View Source
var (
	// True Enable browser writing suggestions including spelling corrections, grammar checks,
	// and predictive text. Improves text quality with automated assistance.
	True = WritingSuggestions("true")

	// False Disable browser writing suggestions and corrections. No automated assistance is
	// provided, preserving user input exactly as typed without modifications.
	False = WritingSuggestions("false")
)

Variables for WritingSuggestions values

Functions

This section is empty.

Types

type WritingSuggestions

type WritingSuggestions []byte

WritingSuggestions is a typed value for the HTML writingsuggestions attribute.

Browser writing suggestions and corrections for text input elements. Controls whether browsers provide spelling, grammar, and writing assistance features.

func Custom

func Custom(value string) WritingSuggestions

Custom allows setting a custom WritingSuggestions value for edge cases or future specifications. Use this when the predefined constants don't cover your specific use case.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL