Module freya_testing::prelude
source · Re-exports§
pub use crate::config::*;
pub use crate::event::*;
pub use crate::launch::*;
pub use crate::test_handler::*;
pub use crate::test_node::*;
pub use crate::test_utils::*;
Modules§
Structs§
- Canvas Reference
- Cursor reference
- Event emitted to the DOM.
- Used to send custom events to [
EventLoop
]. - Image Reference
- Pressed modifier keys.
- Node Reference
- Layout info of a certain Node, used by
use_node
. NodesState
stores the nodes states given incoming events.- Events emitted by a Freya platform, such as desktop or freya-testing.
- Potential events are events that might get emitted or not.
- Represents a window.
- Attributes used when creating a window.
Enums§
- Strategy focusing an Accessibility Node.
- Code is the physical position of a key.
- Describes the appearance of the (usually mouse) cursor icon.
- Messages emitted from the layout library to the Nodes. Used in
use_editable
. - Group all the custom attribute types
- Data of a DOM event.
- Describes the force of a touch event
- Fullscreen modes.
- Key represents the meaning of a keypress.
- Describes a button of a mouse controller.
- Data for PlatformEvent.
- Describes touch-screen input state.
Constants§
Traits§
- Shortcut functions to retrieve Acessibility info from a Dioxus Node
Functions§
- Transform some dynamic bytes (e.g: remote image fetched at runtime) into an attribute
- Create a global event for every collateral event
- For every event in the queue, a global event is created
- Measure what event listeners could potentially be triggered
- Process the events and emit them to the VirtualDOM
- Transform some static bytes (e.g: statically linked images or SVGs) into an attribute