You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new to @stoplight/json-schema-viewer. I'm using @stoplight/json-schema-viewer: 3.1.1 version
<JsonSchemaViewer name="Todos Model" schema={schema} expanded={true} hideTopBar={false} emptyText="No schema defined" defaultExpandedDepth={0} />
I'm implementing expand all and collapse all feature. I want to get tree state of json schema(if any node is expanded or not), that I could use it for further coding.
could you please help me, how can i get the tree state.
Thanks,
Sreevidya
The text was updated successfully, but these errors were encountered:
Hi Team,
I'm new to @stoplight/json-schema-viewer. I'm using @stoplight/json-schema-viewer: 3.1.1 version
<JsonSchemaViewer name="Todos Model" schema={schema} expanded={true} hideTopBar={false} emptyText="No schema defined" defaultExpandedDepth={0} />
I'm implementing expand all and collapse all feature. I want to get tree state of json schema(if any node is expanded or not), that I could use it for further coding.
could you please help me, how can i get the tree state.
Thanks,
Sreevidya
The text was updated successfully, but these errors were encountered: