packages/test-app/app/components/ui/subsection/index.js
import Component from '@glimmer/component';
import slugify from 'slugify';
export default class UiSubsectionComponent extends Component {
get anchorId() {
return this.args.anchorId ?? slugify(this.args.title, { lower: true });
}
}