Reference
This section documents the complete public surface of @samline/forms. Pages are grouped by concept — configuration, API, types, browser usage, styling, and examples — so you can scan to what you need without diving into the source.
Sections in this reference
Section titled “Sections in this reference”- Configuration — every
FormControllerOptionsfield, with defaults and rationale. - API — method-by-method signatures, parameters, return shapes, and behaviour tables.
- TypeScript — every exported type, callback signature, and helper return shape.
- Browser global — the
window.FormsIIFE for no-bundler setups (Shopify, WordPress, classic templates). - CSS styling — recipes for the
css-filledandcss-errorattributes. - Examples — end-to-end recipes for common real-world scenarios.