wire static method
Retrieve the wired Scrollspy object from an element. If there is no wired
- Scrollspy object, a new one will be created.
Implementation
static Scrollspy? wire(Element element, [Scrollspy? create()?]) =>
p.wire(element, _name, create ?? (() => Scrollspy(element)));