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
| <template> | |
| <style> | |
| .list { | |
| user-select: none; | |
| } | |
| .list + .list { | |
| margin-top: 1em; | |
| } | |
| .list-item { | |
| border: 1px solid; |
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
| <template> | |
| app | |
| <router-view></router-view> | |
| </template> |
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 {inject} from 'aurelia-framework'; | |
| import $ from 'jQuery'; // i'm not sure about this line, check the jquery site or stack overflow. $ should be defined. | |
| import 'materialize-css'; // this will load the materialize library | |
| @inject(Element) | |
| export class CollapsibleCustomAttribute { | |
| private element; | |
| constructor(element) { | |
| this.element = $(element); |
NewerOlder