[][src]Module kayrx_ui::fabric::prelude

The Yew Prelude

The purpose of this module is to alleviate imports of many common types:

use yew::prelude::*;

Modules

worker

Prelude module for creating worker.

Macros

html

This macro implements JSX-like templates.

Structs

App

An application instance.

Callback

Universal callback wrapper.

Classes

A set of classes.

DragEvent

The DragEvent class.

Event

The Event class.

FocusEvent

The FocusEvent class.

Href

A bridging type for checking href attribute value.

InputData

A type representing data from oninput event.

KeyboardEvent

The KeyboardEvent class.

MouseEvent

The MouseEvent class.

NodeRef

Wrapped Node reference for later use in Component lifecycle methods.

PointerEvent

The PointerEvent class.

TouchEvent

The TouchEvent class.

UiEvent

The UiEvent class.

WheelEvent

The WheelEvent class.

Enums

ChangeData

A type representing change of value(s) of an element after committed by user (onchange event).

Traits

Bridge

Bridge to a specific kind of worker.

Bridged

This trait allows registering or getting the address of a worker.

Component

An interface of a UI-component. Uses self as a model.

Properties

Trait for building properties for a component

Renderable

Trait for rendering virtual DOM elements

Threaded

Implements rules to register a worker in a separate thread.

Type Definitions

Children

A type used for accepting children elements in Component::Properties.

ChildrenWithProps

A type used for accepting children elements in Component::Properties and accessing their props.

ComponentLink

Link to component's scope for creating callbacks.

Html

A type which expected as a result of view function implementation.

ShouldRender

This type indicates that component should be rendered again.

Derive Macros

Properties