This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react'; | |
| import SampleIcon from '../assets/images/svgs/sample.svg'; | |
| import SvgIcon from '../presentation/SvgIcon'; | |
| export default class Page extends Component { | |
| render() { | |
| <SvgIcon glyph={SampleIcon} width={'15px'} height={'15px'} /> | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Ember from 'ember'; | |
| export default Ember.Component.extend({ | |
| tagName : 'div', | |
| classNames : ['zc-dialog'], | |
| attributeBindings : ['title','modal','closable','buttons',"open","name"], | |
| closable : true, | |
| didInsertElement : function(){ | |
| if(this.get("modal")){ | |
| this._createOverlay(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Ember from 'ember'; | |
| export default Ember.Controller.extend({ | |
| appName: 'Ember Twiddle', | |
| companies: [{ | |
| "name": "abc", | |
| "url": "http://abc.com", | |
| "address": "blah blah", | |
| "position": "something" | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Ember from 'ember'; | |
| export default Ember.Controller.extend({ | |
| appName:'Knock knock!', | |
| userName: 'Emberman' | |
| }); |