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) {
|
2020-12-18 20:02:19 +00:00
|
|
|
return "none";
|
2020-10-04 21:58:28 +00:00
|
|
|
} else {
|
2020-12-18 20:02:19 +00:00
|
|
|
return "inline-block";
|
2020-10-04 21:58:28 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|