Skip to content

Conversation

n3wtron
Copy link

@n3wtron n3wtron commented May 22, 2020

Added click functionality.
Created 2 functions:
now the component accepts 1 new input parameter isSegmentClickable and emits a new signal segmentClicked.
The first one is an input function that returns a boolean

function isClickable(segment:NgxJsonSegment):boolean

the signal can be used to handle the click event

function segmentClickHandler(segment:NgxJsonSegment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant