Sha256: f5a5fb954179211ad0b0f6bda0dd5846ffb139954b238c29bd1469406d8ffa73

Contents?: true

Size: 1.27 KB

Versions: 7

Compression:

Stored size: 1.27 KB

Contents

import Ember from "ember";

export default Ember.Controller.extend({
  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 for select
  cities: ['Barcelona', 'Nevache', 'Sivota'],
  currentDestination: 'Nevache',
  currentDestinations: ['Nevache', 'Sivota'],

  // Used by radio
  selectedRentalType: 'apartment',

  // Used for modal
  isShowingModal: false,
  actions: {
    toggleModal: function() {
      this.toggleProperty('isShowingModal');
    },

    sampleAction: function() {
      alert("Sample action");
    }
  }
});

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bootstrap-bookingsync-sass-1.0.5 tests/dummy/app/controllers/index.js
bootstrap-bookingsync-sass-1.0.4 tests/dummy/app/controllers/index.js
bootstrap-bookingsync-sass-1.0.3 tests/dummy/app/controllers/index.js
bootstrap-bookingsync-sass-1.0.2 tests/dummy/app/controllers/index.js
bootstrap-bookingsync-sass-1.0.1 tests/dummy/app/controllers/index.js
bootstrap-bookingsync-sass-1.0.0 tests/dummy/app/controllers/index.js
bootstrap-bookingsync-sass-1.0.0.beta12 tests/dummy/app/controllers/index.js