@ory/kratos-client
Version:
OpenAPI client for @ory/kratos-client
28 lines (20 loc) • 1.29 kB
Markdown
# UiNodeDivisionAttributes
Division sections are used for interactive widgets that require a hook in the DOM / view.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**_class** | **string** | A classname that should be rendered into the DOM. | [optional] [default to undefined]
**data** | **{ [key: string]: string; }** | Data is a map of key-value pairs that are passed to the division. They may be used for `data-...` attributes. | [optional] [default to undefined]
**id** | **string** | A unique identifier | [default to undefined]
**node_type** | **string** | NodeType represents this node\'s type. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\". text Text input Input img Image a Anchor script Script div Division | [default to undefined]
## Example
```typescript
import { UiNodeDivisionAttributes } from '@ory/kratos-client';
const instance: UiNodeDivisionAttributes = {
_class,
data,
id,
node_type,
};
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)