Terms
Generated from public Vue/TypeScript exports by
pnpm docs:generate. Edit source comments and stories to update this reference. Types describe the declared API; browser/device constraints are covered in the guides. This catalog reflects source commitfc6bfb108634735f1657e533206c3f8702ad357d; match your installed package and typed manifest before using an export. Source review does not establish registry-release availability.
TermsPage
import { TermsPage } from '@gxp-dev/app-ui'
Flow defaults: action None, result key termsAccepted (when data/result is produced).
Props
| Name | Type | Required / default | Description |
|---|---|---|---|
title | string | undefined | — | Heading (rendered as HTML). |
subtitle | string | undefined | — | Sub-heading under the title (rendered as HTML). |
html | string | undefined | — | Terms body HTML (rendered with v-html — sanitise upstream). |
agreementText | string | undefined | — | Checkbox consent label (rendered as HTML). |
submitLabel | string | undefined | — | — |
backLabel | string | undefined | — | — |
exitLabel | string | undefined | — | — |
logoImage | string | undefined | — | Logo shown between the back / exit buttons. |
bodyColor | string | undefined | — | Text / background colour of the scrollable terms body. |
bodyBackground | string | undefined | — | — |
requireAccept | boolean | undefined | — | Require the consent checkbox before continuing. |
requireScroll | boolean | undefined | — | Require the user to scroll the terms body to the bottom before they can accept. Content that fits without scrolling counts as read. |
scrollHint | string | undefined | — | — |
showBack | boolean | undefined | — | — |
showExit | boolean | undefined | — | — |
Events
| Name | Type | Required / default | Description |
|---|---|---|---|
back | [] |