routes
now acceptsUrl
instead of&Url
(Breaking)- Improvements to fetch API
- Added
raw!
,md!
, andplain!
macros that aliasEl::from_html
,El::from_markdown
,
andEl::new_text
respectively Attrs!
andStyle!
macros can now use commas and whitespace as separators,
in addition to semicolons- Fixed typos in a few attributes (Breaking)
- Fixed a bug where an HTML namespace was applied to raw html/markdown elements
- New conditional syntax added in
class!
macro, similar toElm
'sclassList
Listener
now implementsMessageMapper
El methods
add_child
,add_style
,add_attr
, andset_text
now return the elements,
allowing chaining- Fixed a bug with
set_text
. Renamed toreplace_text
. Addedadd_text
, which adds
a text node, but doesn't remove existing ones. Addedadd_class
. (Breaking)