Skip to content

Doc enhancement: readthedocs examples broken #147

Closed
@jjennings955

Description

@jjennings955

The examples at https://idom.readthedocs.io/en/latest/examples.html seem to be based on an older version of code and there are some API changes that break many (maybe all?) of them.

For example in the To Do List example creates callbacks for events like this:

task_input = idom.html.input(onKeyDown=add_new_task)

... ...

delete_button = idom.html.td(idom.html.button("x"), onClick=remove)

but the current API has you pass the callbacks as a dictionary

Something like:

task_input = idom.html.input({'onKeyDown':add_new_task})

Metadata

Metadata

Assignees

Labels

type-docsAbout changes and updates to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions