use static method

void use()

Register to use Calendar component.

Implementation

static void use() {
  if (_registered) return;
  _registered = true;

  $window().on('load', (QueryEvent e) {
    for (final elem in $('[class~="calendar"]')) {
      Calendar.wire(elem);
    }
  });
}