0.16.0
版本发布时间: 2020-05-09 23:32:44
yewstack/yew最新发布版本:yew-v0.21.0(2023-09-29 19:14:55)
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