gokatz
2/28/2017 - 6:09 AM

moz focus-out

moz focus-out

{
  "version": "0.11.0",
  "EmberENV": {
    "FEATURES": {}
  },
  "options": {
    "use_pods": false,
    "enable-testing": false
  },
  "dependencies": {
    "jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.js",
    "ember": "2.10.2",
    "ember-data": "2.11.0",
    "ember-template-compiler": "2.10.2",
    "ember-testing": "2.10.2"
  },
  "addons": {}
}
<button>Choose Placeholder</button>
<br>

{{textarea autofocus=autofocus focus-out="blurred"}}
<h1>Welcome to {{appName}}</h1>
<br>
{{#link-to 'one'}}ONE{{/link-to}}
<hr>
<br>
{{outlet}}
<br>
<br>
import Ember from 'ember';

export default Ember.Route.extend({
});
import Ember from 'ember';
import config from './config/environment';

const Router = Ember.Router.extend({
  location: 'none',
  rootURL: config.rootURL
});

Router.map(function() {
  this.route("one");
});

export default Router;
import Ember from 'ember';

export default Ember.Controller.extend({
  appName: 'Ember Twiddle'
});
import Ember from 'ember';

export default Ember.Component.extend({
  actions: {
  	blurred() {
    	alert('blurred');
    }
  }
});