en_btr_frontend/app/components/scrollmenu.js

14 lines
355 B
JavaScript
Raw Permalink Normal View History

2020-10-04 21:58:28 +00:00
import Component from '@glimmer/component';
import {tracked} from "@glimmer/tracking";
import { action } from '@ember/object';
export default class ScrollmenuComponent extends Component {
get visibility() {
if (this.args.visible == 'false' || this.args.visible == false) {
return "none";
2020-10-04 21:58:28 +00:00
} else {
return "inline-block";
2020-10-04 21:58:28 +00:00
}
}
}