yew_stdweb

Module services

Source
Expand description

This module is a container of servies to interact with the external resources.

It carries a similar role as subscriptions in Elm, but can be used directly from the update method.

Re-exports§

Modules§

  • This module contains a service implementation to use browser’s console.
  • This module contains the implementation of a service to show alerts and confirm dialogs in a browser.
  • Service to send HTTP-request to a server.
  • This module contains the implementation of a service for periodic sending messages to a loop.
  • Service to register key press event listeners on elements.
  • Service to load files using FileReader.
  • This module contains Yew’s implementation of a service which can be used to request frame rendering
  • This module contains Yew’s implementation of a service which listens for browser window resize events.
  • This module contains Yew’s implementation of a service to use local and session storage of a browser.
  • This module contains Yew’s implementation of a service to send messages when a timeout has elapsed.
  • A service to connect to a server through the WebSocket Protocol.

Structs§

Traits§

  • A task is an ongoing process which is part of a Yew application.