engine/morphic/enums library
HTML enums for type-safe attribute values.
This file contains all enum types used across HTML elements to provide compile-time type safety and IDE autocomplete.
Enums
- AreaShape
- Area shape types for image maps.
- AriaRole
- Common ARIA roles for accessibility.
- Autocomplete
- Autocomplete modes.
- ButtonType
- HTML button types.
- CrossOrigin
- Cross-origin request modes.
- Decoding
- Image decoding strategies.
- Dir
- Text direction for bidirectional text.
- Draggable
- Draggable states.
- FormEnctype
- Form encoding types.
- FormMethod
- Form submission methods.
- InputMode
- Input mode hints for virtual keyboards.
- ListType
- Ordered list numbering types.
- Loading
- Image/iframe loading strategies.
- Preload
- Media preload strategies.
- ReferrerPolicy
- Referrer policy for links and resources.
- Rel
- Link relationship types.
- ResourceType
- Resource types for preload hints.
- Sandbox
- Sandbox permissions for iframes.
- Scope
- Table header cell scope.
- ScriptType
- Script types.
- Target
- Link and form target contexts.
- TextWrap
- Text wrapping modes for textarea.
- TrackKind
- Track kinds for video/audio subtitles and captions.