Skip to content

typos in "VDOM Event Support" #105

@allefeld

Description

@allefeld

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions