Sha256: 35e4fa874ee698af039615387133d5f6079ddccc4df7564f305eb17637183162

Contents?: true

Size: 574 Bytes

Versions: 15

Compression:

Stored size: 574 Bytes

Contents

import classic from "ember-classic-decorator";
import { classNameBindings } from "@ember-decorators/component";
import Component from "@ember/component";

@classic
@classNameBindings("active", ":content", "name")
export default class TabContents extends Component {
  isLink = false;

  didInsertElement() {
    super.didInsertElement(...arguments);
    this.tabActions.addTab(this);

    if (this.defaultTab) {
      this.tabActions.selectTab(this);
    }
  }

  willDestroyElement() {
    super.willDestroyElement(...arguments);
    this.tabActions.removeTab(this);
  }
}

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
logster-2.20.1 client-app/app/components/tab-contents.js
logster-2.20.0 client-app/app/components/tab-contents.js
logster-2.19.1 client-app/app/components/tab-contents.js
logster-2.19.0 client-app/app/components/tab-contents.js
logster-2.18.1 client-app/app/components/tab-contents.js
logster-2.18.0 client-app/app/components/tab-contents.js
logster-2.17.1 client-app/app/components/tab-contents.js
logster-2.17.0 client-app/app/components/tab-contents.js
logster-2.16.0 client-app/app/components/tab-contents.js
logster-2.15.0 client-app/app/components/tab-contents.js
logster-2.14.0 client-app/app/components/tab-contents.js
logster-2.13.1 client-app/app/components/tab-contents.js
logster-2.13.0 client-app/app/components/tab-contents.js
logster-2.12.2 client-app/app/components/tab-contents.js
logster-2.12.1 client-app/app/components/tab-contents.js