use method

void use ()

Register to use Tab component.

Implementation

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

  $document().on('click.tab.data-api', (QueryEvent e) {
    e.preventDefault();
    wire(e.target).show();

  }, selector: '[data-toggle="tab"], [data-toggle="pill"]');
}