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
| @mixin animation ($animations) { | |
| -moz-animation: $animations; | |
| -o-animation: $animations; | |
| -webkit-animation: $animations; | |
| animation: $animations; | |
| } | |
| @mixin animation-fill-mode ($mode) { | |
| -moz-animation-fill-mode: $mode; | |
| -o-animation-fill-mode: $mode; |
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
| '.editor:not(.mini)': | |
| 'cmd-E': 'emmet:expand-abbreviation' | |
| 'ctrl-d': 'emmet:balance-outward' | |
| 'alt-d': 'emmet:balance-inward' | |
| 'ctrl-alt-j': 'emmet:matching-pair' | |
| 'ctrl-right': 'emmet:next-edit-point' | |
| 'ctrl-left': 'emmet:prev-edit-point' | |
| 'cmd-`': 'emmet:split-join-tag' | |
| "cmd-;": 'emmet:remove-tag' | |
| 'cmd-Y': 'emmet:evaluate-math-expression' |
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
| var books = [ | |
| 'Genesis', | |
| 'Exodus', | |
| 'Leviticus', | |
| 'Numbers', | |
| 'Deuteronomy', | |
| 'Joshua', | |
| 'Judges', | |
| 'Ruth', | |
| '1 Samuel', |
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({ | |
| filter: null, | |
| click() { | |
| this.sendAction('addFilter'); | |
| } | |
| }); |
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 Table from 'ember-light-table'; | |
| const { computed } = Ember; | |
| export default Ember.Component.extend({ | |
| model: null, | |
| columns: computed(function() { | |
| return [{ |
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', | |
| list: [ | |
| { name: "Apple", colors: ["Red","Yellow","Green"] }, | |
| { name: "Orange", colors: ["Orange"] }, | |
| { name: "Grape", colors: ["Green", "Purple"] } | |
| ], | |
| newGrape() { |
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 } from '@ember/object'; | |
| export default class ApplicationController extends Controller { | |
| shared = { | |
| page: 0, | |
| pageUI: 1, | |
| pageCount: 10, | |
| startIndexAtZero: true | |
| } |
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 Component from '@glimmer/component'; | |
| export default class Notes extends Component { | |
| get itemCount() { | |
| return `(${this.items?.length || 0})`; | |
| } | |
| } |
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'; | |
| export default class ApplicationController extends Controller { | |
| appName = 'Ember Twiddle'; | |
| } |
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 Component from "@glimmer/component"; | |
| import { action } from "@ember/object"; | |
| import { tracked } from "@glimmer/tracking"; | |
| export default class Test extends Component { | |
| @tracked selectedFiles = []; | |
| files = ["a", "b", "c"]; | |
| @action | |
| handleFileToggle(file) { |
OlderNewer