JSON editor

JSON editor provides the advanced options to edit JSON. The editor supports syntax formatting and highlighting.

Methods

MethodDescription

setValue(data: object)

sets value for the component

reset()

resets component

setReadonly(readonly: boolean)

enables or disables a read-only mode

focus()

sets focus on the component

validate()

triggers component validation

resetValidation()

resets validation

Triggers

Triggers allow you to launch certain actions based on different events.

On Init

Calls for an action on component initialization

On Change

Calls for an action on component's change

On Enter

Calls for an action on Enter click

On Focus

Calls for an action on component's focus

On Blur

Calls for an action on component's blur

Last updated

© 2024 UI Bakery