Expand description
Lerni library.
Modules§
- keys
- Keyboard key codes.
Structs§
- Frame
- Frame within which the widget will be rendered.
- Frames
- Frames stack.
- Slide
Set - Props for the
SlideSetslot. - Strings
- Props for the
Stringsslot. - 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.
Traits§
- Into
Strings - Trait for types that can be converted into a vector of strings.
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
- Slide
Show - Optional 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§
- Frames
Ref - Frames stack reference.
Attribute Macros§
- wasm_
bindgen - A list of all the attributes can be found here: https://wasm-bindgen.github.io/wasm-bindgen/reference/attributes/index.html