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