Crate lerni

Source
Expand description

Lerni library.

Modules§

keys
Keyboard key codes.

Structs§

Frame
Frame within which the widget will be rendered.
Frames
Frames stack.
SvgFrame
SVG frame area.

Enums§

Align
Horizontal align.
Color
Helper type to work with colors.
Flip
Flip is an enum that represents the flip state of an object.
Size
Size in pixels or percent.
VAlign
Vertical align.

Functions§

Button
Required Props
Column
Column of widgets.
Grid
Grid layout widget.
Image
Required Props
Label
Required Props
Row
Row of widgets.
Slide
Required Props
SlideShow
Required Props
Space
Empty space.
Stack
Stack of widgets.
Svg
SVG widget.
SvgFile
SVG-from-file widget.
Text
Text widget.
calc_width
Calculates the width of the slide.
is_active_slide
Check whether a slide is active.
provide_frame
Provides frame to the context.
start
Start function.
use_frame
Returns the current frame.
use_frames
Returns frames stack from context.

Type Aliases§

FramesRef
Frames stack reference.

Attribute Macros§

wasm_bindgen
A list of all the attributes can be found here: https://rustwasm.github.io/docs/wasm-bindgen/reference/attributes/index.html