yew/examples/password_strength

Password Strength Estimator Example

Demo

A password strength estimator implemented in Yew.

Notes

If this example is a bit slow, you should try running it with the release profile.

Concepts

This example

  • makes use of controlled components.
  • extracts new value from InputEvent
  • calls out to js_sys to invoke a foreign function, Math.random()

Running

Run this application with the trunk development server:

trunk serve --open