Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jul 19, 2020. It is now read-only.
This repository was archived by the owner on Jul 19, 2020. It is now read-only.

'Events' vs 'Callbacks' in the documentation #76

Open

Description

'Callback' word could be confusing and is used for different concepts in Yew,
Events seems to be easier to understand in the domain of HTML component interaction

The documentation may be improved with a structure inspired by the one of StencilJS.com ( there is some similarity between the projects)

Could be something like:

...

Components

  • Component: overview and basic example

  • Life cycle: more details on all the steps

  • properties: overview

    1. optional property with default value (basic example)
    2. optional property with a specific value (basic example)
    3. mandatory property (basic example)
    4. good to know
      • derive macro
      • PartialEq
      • Memory Speed

Events:

  • emit event and trap it is parent
  • events with value

Nested components

i feel this subject should be extracted from html! section

  • Nested component
  • Nested components with properties

Styling

i feel this subject should be extracted from more section even if there is not a lot to say for now.

  • static CSS file
  • dev feedbacks; use of CSSinRust
  • official support in Yew under analysis ... #533

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /