[Question]How to set callback functions for custom components #6481
Answered
by
Qye-Leisure
Qye-Leisure
asked this question in
Q&A
Replies: 2 comments 3 replies
-
|
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Qye-Leisure
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question
There is no relevant example in the documentation, I set click_callback: Optional[Callable] = field(default=None, metadata={"data_type": "function"} directly in the class properties, but this directly gives an error
Code sample
Error message
------------------------------------------------------
Beta Was this translation helpful? Give feedback.
All reactions