Commit d60a14d9 authored by Michael Underwood's avatar Michael Underwood
Browse files

Add back fall-through attrs not added as listeners

Resolves #287
parent 4a42d926
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -14,11 +14,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed

- Playground now works again after upgrade to TypeScript.
- Fixed LMap event-handlers. Original issue here:(https://github.com/vue-leaflet/vue-leaflet/issues/287)
- Fixed LMap event-handlers, closing [#287 Click event not working with 0.9.0](https://github.com/vue-leaflet/vue-leaflet/issues/287).

### Changed

- **Breaking:** `src/` folder is no longer included in the build. Please use the new exported keys if you wanna access the injection keys or any function.
- **Breaking:** The `src/` folder is no longer included in the build. Please use the new exports to access the injection keys and libary functions.

## [0.9.0] - 2023-03-12

+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ export default defineComponent({

      leafletObject.value = markRaw<L.Circle>(circle(props.latLng, options));

      const listeners = remapEvents(context.attrs);
      const { listeners } = remapEvents(context.attrs);
      leafletObject.value.on(listeners);

      propsBinder(methods, leafletObject.value, props);
+1 −1
Original line number Diff line number Diff line
@@ -53,7 +53,7 @@ export default defineComponent({
        circleMarker(props.latLng, options)
      );

      const listeners = remapEvents(context.attrs);
      const { listeners } = remapEvents(context.attrs);
      leafletObject.value.on(listeners);

      propsBinder(methods, leafletObject.value, props);
+1 −1
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@ export default defineComponent({
        featureGroup(undefined, options)
      );

      const listeners = remapEvents(context.attrs);
      const { listeners } = remapEvents(context.attrs);
      leafletObject.value.on(listeners);

      propsBinder(methods, leafletObject.value, props);
+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ export default defineComponent({

      leafletObject.value = markRaw<L.GeoJSON>(geoJSON(props.geojson, options));

      const listeners = remapEvents(context.attrs);
      const { listeners } = remapEvents(context.attrs);
      leafletObject.value.on(listeners);

      propsBinder(methods, leafletObject.value, props);
Loading