perspective_viewer::components

Module font_loader

Source

Structs§

  • The FontLoader component ensures that fonts are loaded before they are visible.
  • state is private to force construction of props with the ::new() static method, which initializes the async load_fonts_task() method.

Enums§

  • The possible font loading state, which proceeds from top to bottom once per <perspective-viewer> element.