Skip to content

Instantly share code, notes, and snippets.

import Ember from 'ember';
export default Ember.Component.extend({
name: 'Hi',
actions:{
childAction(){
alert( 'childAction called..' );
import Ember from 'ember';
import UpdateMixin from '../mixins/update';
export default Ember.Component.extend({
child_val: '',
actions:{
childAction(){
import Ember from 'ember';
export default Ember.Component.extend({
actions:{
alertMe(){
alert('Initiated!');
Ember.run.later( ()=>{
alert('Done..!')
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
import Ember from 'ember';
export default Ember.Component.extend({
target_id : '',
classNames: [ 'parent-comp' ],
click( e ){
this.set( 'target_id', e.target.id );
console.log(e);
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
import Ember from 'ember';
export default Ember.Component.extend({
dummy:'',
});
@mohamedali-s-4725
mohamedali-s-4725 / components.tab-content.js
Last active June 22, 2021 14:38
Property dialog - POC
import Ember from 'ember';
export default Ember.Component.extend({
selected_comp_name: ''
});
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
sma: Ember.Object.create({
staff:{
123: {
name: 'sma',
import Ember from 'ember';
export default Ember.Component.extend({
didInitAttrs(options) {
console.log('didInitAttrs', options, this.get('data'));
},
didUpdateAttrs(options) {
console.log('didUpdateAttrs', options, this.get('data') );