Sha256: 6064b0cc14517108421d6ad0ea1fdc18e1b774d4edf9c6368401c7a62de22f1c

Contents?: true

Size: 1.48 KB

Versions: 1

Compression:

Stored size: 1.48 KB

Contents

import Controller from '@ember/controller';

export default Controller.extend({
  init() {
    this._super(...arguments);
    this.cities = ['Barcelona', 'Nevache', 'Sivota'];
    this.currentDestinations = ['Nevache', 'Sivota'];
  },

  currentName: 'John Doe',
  currentFirstName: 'John',
  currentLastName: 'Doe',
  currentEmail: 'john@example.com',
  currentAmount: 123,
  currentComment: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur a fermentum ex, at malesuada sapien. In quis nisl diam. Ut mattis volutpat massa vel porta. Suspendisse aliquam accumsan justo. Morbi non augue risus. Integer congue, eros ac condimentum scelerisque, odio ante laoreet mauris, vitae faucibus ex nisi ut mauris. Nunc imperdiet ex felis, tempus viverra lorem lobortis quis. Curabitur molestie tempor orci et tincidunt. Suspendisse vestibulum aliquet diam, a lobortis lorem pretium eu. Etiam accumsan ex at odio iaculis, at malesuada augue faucibus. Mauris vitae risus sed magna dapibus dapibus ac quis eros. Sed cursus placerat porta.',

  // Used by radio
  selectedRentalType: 'apartment',
  // Used for modal
  isShowingModal: false,
  // Used for select
  currentDestination: 'Nevache',
  cities: null,
  currentDestinations: null,

  actions: {
    toggleModal() {
      this.toggleProperty('isShowingModal');
    },

    sampleAction() {
      alert('Sample action');
    },

    openPopup() {
      this.get('bsyDialog').alert(
        'Good job!',
        'You clicked the button'
      );
    }
  }
});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bootstrap-bookingsync-sass-2.0.0 tests/dummy/app/controllers/index.js