23 lines
526 B
JavaScript
23 lines
526 B
JavaScript
import Component from '@glimmer/component';
|
|
import { guidFor } from '@ember/object/internals';
|
|
import { EyeOutline, EyeOffOutline } from 'ember-mdi';
|
|
|
|
export default class FormTableSettingsComponent extends Component {
|
|
checkedIcon = EyeOutline;
|
|
uncheckedIcon = EyeOffOutline;
|
|
|
|
get guid() {
|
|
return guidFor(this);
|
|
}
|
|
|
|
get id() {
|
|
return this.args.id ?? this.guid;
|
|
}
|
|
|
|
// @action
|
|
// onChange(event) {
|
|
// if (this.args.onChange) {
|
|
// this.args.onChange(event.target.value, event);
|
|
// }
|
|
// }
|
|
}
|