github lit/lit v1.2.0

latest releases: @lit/react@1.0.5, @lit-labs/ssr-react@0.3.0, @lit-labs/nextjs@0.2.0...
4 years ago

Added

  • Added unsafeSVG directive to bind SVG source inside SVGs. (#304)
  • Added templateContent() directive for stamping out the contents of an HTML template into a text binding. (#1058)
  • Added the live() directive. (#877)

Fixed

  • Fixed a bug where classMap and styleMap directives wouldn't render mutated objects. (#972)
  • Fixed a bug where ifDefined() would set an attribute even when the value didn't change. (#890)
  • Change classMap directive to set classes correctly on SVGs (#1070).

Don't miss a new lit release

NewReleases is sending notifications on new releases.