wire static method

Scrollspy? wire(
  1. Element element, [
  2. Scrollspy? create()?
])

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)));