autocorrect

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// On Enable automatic text correction and spelling fixes. Browser or device will
	// automatically correct misspelled words and apply predictive text suggestions.
	On = AutoCorrect("on")

	// Off Disable automatic text correction. No spelling fixes or predictive corrections
	// are applied, preserving exact user input including intentional misspellings.
	Off = AutoCorrect("off")
)

Variables for AutoCorrect values

Functions

This section is empty.

Types

type AutoCorrect

type AutoCorrect []byte

AutoCorrect Automatic text correction on mobile devices and browsers. Controls whether browsers automatically correct spelling and text input for improved user experience.

func Custom

func Custom(value string) AutoCorrect

Custom allows setting a custom AutoCorrect 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