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
| <div class="outer"> | |
| <div class="middle"> | |
| <div class="inner"> | |
| <h1>The Content</h1> | |
| <p>Once upon a midnight dreary...</p> | |
| </div> | |
| </div> | |
| </div> | |
| <style> |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Progress Bar</title> | |
| </head> | |
| <style type="text/css"> | |
| #progress-bar { | |
| background-color: blue; | |
| height: 30px; | |
| border-radius: 2px; |
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 ComponentOne from './component-one'; | |
| import ComponentA from '../mixins/component-a'; | |
| export default ComponentOne.extend(ComponentA, { | |
| type: 'Component Five', | |
| description: 'Extends Component One and includes Component A. Overrides obj in definition.', | |
| obj: { | |
| val: 5 | |
| } | |
| }); |
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 ComponentOne from './component-one'; | |
| import ComponentA from '../mixins/component-a'; | |
| export default ComponentOne.extend(ComponentA, { | |
| type: 'Component Five', | |
| description: 'Extends Component One and includes Component A. Overrides obj in definition.', | |
| obj: { | |
| val: 5 | |
| } | |
| }); |
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'; | |
| import { set } from '@ember/object'; | |
| export default Ember.Controller.extend({ | |
| appName: 'Ember Twiddle', | |
| someObj: { a: 1 }, | |
| init() { | |
| this._super(...arguments); | |
| this.someProp = this.someObj; | |
| }, |
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 Controller from '@ember/controller'; | |
| import { action, computed, set, get, setProperties } from '@ember/object'; | |
| export default class ApplicationController extends Controller { | |
| appName = 'Ember Twiddle'; | |
| init() { | |
| super.init(...arguments); | |
| this.set('model', { | |
| endsAt: 'some value', | |
| totalBudget: { |
OlderNewer