ohayolibs
Version:
Ohayo is a set of essential modules for ohayojp.
18 lines (14 loc) • 567 B
Markdown
type: Form
title: error-collect
subtitle: Error Collect
cols: 2
module: import { ErrorCollectModule } from '@ohayo/components/error-collect';
A simple form exception messages collector that jump to element location via click icon; it must be a standard `form`.
## API
### error-collect
| Property | Description | Type | Default | Global Config |
|----------|-------------|------|---------|---------------|
| `[freq]` | Monitor frequency, unit is milliseconds | `number` | `500` | ✅ |
| `[offsetTop]` | Top offset, unit is `px` | `number` | `145` | ✅ |