graycoreio/daffodil

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

Summary

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

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

export class DaffSuffixDirective {

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