Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typos in "VDOM Event Support" #105

Open
allefeld opened this issue Feb 16, 2020 · 0 comments
Open

typos in "VDOM Event Support" #105

allefeld opened this issue Feb 16, 2020 · 0 comments

Comments

@allefeld
Copy link

allefeld commented Feb 16, 2020

In VDOM Event Support there are two lines with typos in the first code example; corrected:

from IPython.display import display

return button(str(count), onClick=on_click, style={'width': '100', 'height': '40'})

The second code example has typos, too, corrected:

from IPython.display import display

model = vdom.div(
    vdom.a("click this link", href-"#", onClick=inner_on_click),
    onClick=outer_on_click
)

but even after corrected it doesn't run:

AttributeError: module 'vdom' has no attribute 'eventHandler'
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

No branches or pull requests

1 participant