Fusuma

Components / Components

spinner

A spinner of the theme's size.

Try it

This is the Data page of the gallery, running in your browser: spinner is on it, and it is the real widget. Press Run, then use it.

Live: Data, where spinner is usedOpen full size

Also on this pagekbdratingcarouseltimelinetableline_chartarea_chartbar_chart

A spinner of the theme's size.

Signature

pub const fn spinner() -> Spinner

Methods

  • .size(px: u32) -> Self — px pixels across.

Example

use fusuma::{row, spinner, text};
let view = row((spinner().size(16), text("Loading")));
let built = fusuma::doc::built::<(), _>(&view);
assert_eq!(built.texts(), ["Loading"]);

All components · Source