Canopy Kebab Case Pipe — Best Practices
This skill provides usage guidance for the Canopy LgKebabCasePipe from @legal-and-general/canopy.
Apply this skill when you need to transform a string into kebab-case in an Angular template.
See also: the
pipes-camel-caseskill.
Import
import { LgKebabCasePipe } from '@legal-and-general/canopy';
Basic Usage
<p>{{ 'My Example String' | lgKebabCase }}</p>
<!-- Output: my-example-string -->