Module yew::html [] [src]

The main module which contents aliases to necessary items to create a template and implement update and view functions.

Modules

onclick

An abstract implementation of a listener.

ondoubleclick

An abstract implementation of a listener.

oninput

An abstract implementation of a listener.

onkeypress

An abstract implementation of a listener.

Structs

Context

A context which contains a bridge to send a messages to a loop. Mostly services uses it.

ContextSender

This class keeps a sender to a context to send a messages to a loop and to schedule the next update call.

Href

A bridging type for checking href attribute value.

InputData

A type representing data from oninput event.

KeyData

A type representing data from onkeypress event.

MouseData

A type representing data from onclick and ondoubleclick event.

Functions

program

The main entrypoint of a yew program. It works similar as program function in Elm. You should provide an initial model, update function which will update the state of the model and a view function which will render the model to a virtual DOM tree.

Type Definitions

Html

A type which expected as a result of view function implementation.