Skip to content

Why can't I add inline js to DOM using el('div', {...})? #449

Answered by pakastin
PatAbah asked this question in Q&A
Discussion options

You must be logged in to vote

ondblclick is property, which means you can use function there:

{ ondblclick: e => send_reply('reply_someone') }

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@PatAbah
Comment options

@pakastin
Comment options

Answer selected by PatAbah
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants