alvarocastro/ember-draggable-modifiers

View on GitHub
packages/test-app/app/components/ui/section/index.js

Summary

Maintainability
A
50 mins
Test Coverage
import Component from '@glimmer/component';
import slugify from 'slugify';

export default class UiSectionComponent extends Component {
  get anchorId() {
    return this.args.anchorId ?? slugify(this.args.title, { lower: true });
  }
}