Skip to content

Instantly share code, notes, and snippets.

@tleperou
Created June 28, 2019 10:37
Show Gist options
  • Save tleperou/2e67f40908ac73d24b4bf34bb713278e to your computer and use it in GitHub Desktop.
Save tleperou/2e67f40908ac73d24b4bf34bb713278e to your computer and use it in GitHub Desktop.
import Component from "@glimmer/component";
import { queryParam } from "ember-query-params-service";
export default class SomeComponent extends Component {
@queryParam foo;
myMethodToComputeFoo() {
return this.foo;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment