Changelog
-
⚡️ Features
-
Added optional
id
,class
, andplaceholder
properties to theSelect
component. [@Stigjb, #1187] -
Re-export
web-sys
from Yew. This allows projects to useweb-sys
without adding it to theirCargo.toml
. [@D4nte, #1176] -
Added support for
Option
wrapped class names. [@liquidblock, #1085]The following code is now supported:
let color: &Option<String> = &self.color; html! { <div class=("btn", color)></div> }
-
Added
get_parent
andget_component
methods toComponentLink
to allow access to parent component state. [@jstarry, #1151]
-
-
🛠 Fixes
- Fixed bug that caused html class attributes to be set to an empty string. [@liquidblock, #1085]
- Fixed
Private
worker lifecycle event sending. [@joaquindk, #1146]
-
🚨 Breaking changes