Sha256: 9815320acf1f44e63bcffbe5d7905580461708c2b55a36c8c5d8eb07a48a920f

Contents?: true

Size: 566 Bytes

Versions: 20

Compression:

Stored size: 566 Bytes

Contents

import SignOut from 'components/signOut/signOut.js';
import {Module, Component, Template} from 'a1atscript';
import OnLoginDirective from 'components/OnLoginDirective/OnLoginDirective.js';

@Module( 'sessionLinks', [
  'ng-token-auth',
  SignOut])
@Component({
  selector: 'xngSessionLinks',
  services: ['$rootScope', '$auth']
})
@Template({
  url: 'components/sessionLinks/session-links.tpl.html'
})
export default class SessionLinks extends OnLoginDirective {

  onLogin(user) {
    this.isLoggedIn = true;
  }

  onLogout() {
    this.isLoggedIn = false;
  }

}

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
xing-framework-1.0.0.pre.beta.1 default_configuration/base_app/frontend/src/common/components/sessionLinks/sessionLinks.js
xing-framework-1.0.0.pre.beta default_configuration/base_app/frontend/src/common/components/sessionLinks/sessionLinks.js
xing-framework-1.0.0.pre.alpha default_configuration/base_app/frontend/src/common/components/sessionLinks/sessionLinks.js
xing-framework-0.3.2 default_configuration/base_app/frontend/src/common/components/sessionLinks/sessionLinks.js
xing-framework-0.3.1 default_configuration/base_app/frontend/src/common/components/sessionLinks/sessionLinks.js
xing-framework-0.3.0 default_configuration/base_app/frontend/src/common/components/sessionLinks/sessionLinks.js
xing-framework-0.2.9 default_configuration/base_app/frontend/src/common/components/sessionLinks/sessionLinks.js
xing-framework-0.2.9.beta1 default_configuration/base_app/frontend/src/common/components/sessionLinks/sessionLinks.js
xing-framework-0.2.8 default_configuration/base_app/frontend/src/common/components/sessionLinks/sessionLinks.js
xing-framework-0.2.8.beta1 default_configuration/base_app/frontend/src/common/components/sessionLinks/sessionLinks.js
xing-framework-0.2.7 default_configuration/base_app/frontend/src/common/components/sessionLinks/sessionLinks.js
xing-framework-0.2.7.pre.beta1 default_configuration/base_app/frontend/src/common/components/sessionLinks/sessionLinks.js
xing-framework-0.2.6 default_configuration/base_app/frontend/src/common/components/sessionLinks/sessionLinks.js
xing-framework-0.2.5 default_configuration/base_app/frontend/src/common/components/sessionLinks/sessionLinks.js
xing-framework-0.2.4 default_configuration/base_app/frontend/src/common/components/sessionLinks/sessionLinks.js
xing-framework-0.2.3 default_configuration/base_app/frontend/src/common/components/sessionLinks/sessionLinks.js
xing-framework-0.2.2 default_configuration/base_app/frontend/src/common/components/sessionLinks/sessionLinks.js
xing-framework-0.2.1 default_configuration/base_app/frontend/src/common/components/sessionLinks/sessionLinks.js
xing-framework-0.2.0 default_configuration/base_app/frontend/src/common/components/sessionLinks/sessionLinks.js
xing-framework-0.0.3 default_configuration/base_app/frontend/src/common/components/sessionLinks/sessionLinks.js