Replies: 1 comment
-
Hi @ed2050,
Usually you don't. But if you can't use It's true that the type annotation of such callbacks can be improved. When we introduced type annotation in the code base, we just used |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Either basic documentation on event handling is missing, or it needs to be indexed better. I can't find anything useful on
table.on_select
.The extent of the docs on it say this:
That is supremely unhelpful. What the heck arguments does the callback take? Any is not descriptive at all. What kind of object am I given? The table row? Some type of event object? What properties does it have?
I tried searching the forums and docs with no luck. The most I found is a discussion of how to create a new table cell event, which doesn't reveal how on_select works. Even google didn't turn up anything.
The doc page on generic events doesn't help either. This one. It says
The generic event handler can ... optionally takes GenericEventArguments as argument
. So what the heck isGenericEventArguments
and where is it documented??One last note - the generic events page gives two urls for more info on events, and both are plain text. Surely they should be hyperlinks.
Anyone have an example with table.on_select?
Beta Was this translation helpful? Give feedback.
All reactions