wire method

Tab wire (
  1. Element element,
  2. [Tab create(

    Retrieve the wired Tab object from an element. If there is no wired

    • Tab object, a new one will be created.
      • create - If provided, it will be used for Tab creation. Otherwise
    • the default constructor with no optional parameter value is used.


    static Tab wire(Element element, [Tab create()]) =>
        p.wire(element, _name, create ?? (() => new Tab(element)));