wire static method

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

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

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

Implementation

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