graycoreio/daffodil

View on GitHub
libs/design/src/core/prefix-suffix/prefix.directive.ts

Summary

Maintainability
A
0 mins
Test Coverage
import {
  Directive,
  HostBinding,
} from '@angular/core';

/**
 *
 * Prefix can be used to place content before another piece of content in components like
 * `daff-form-field`, `daff-solo-field`, and `daff-list`.
 */
@Directive({
  selector: '[daffPrefix]',
})

export class DaffPrefixDirective {

  @HostBinding('class.daff-prefix') class = true;
}