You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
WithProps and its types (ElementOptions, Attach, LeafletElement, LeafletElementConstructor, LeafletAddEventListener/LeafletRemoveEventListener), the shared-props.ts fragments (pathProps, latLngProps, tileLayerProps, urlProp, style, getBounds, Positioned/Styleable/Sourced/Bounded), and all of event-types.ts are now part of the public API surface, not just internal to this package's own components. The registration protocol (instanceof Layer/Popup/Tooltip against Leaflet's own base classes) and the icon-changed protocol were already plugin-friendly by design -- a third-party layer, control, or icon component built on Leaflet's own class hierarchy integrates with what's here without any special-casing. This closes the one real gap: those same primitives weren't reachable from the package root, only via undocumented dist/core/* deep imports. A plugin author can now build a component the same way this package's own components are built. |
4 weeks ago | |
|---|---|---|
| .. | ||
| components | 4 weeks ago | |
| core | 4 weeks ago | |
| index.ts | 4 weeks ago | |