How to use the @glimmer/syntax.builders.mustache function in @glimmer/syntax

To help you get started, we’ve selected a few @glimmer/syntax examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github linkedin / css-blocks / packages / @css-blocks / glimmer / src / ClassnamesHelperGenerator.ts View on Github external
export function classnamesHelper(rewrite: IndexedClassRewrite<style>, element: TemplateElement): AST.MustacheStatement {
  return builders.mustache(
    builders.path(CLASSNAMES_HELPER_NAME),
    constructArgs(rewrite, element),
  );
}
</style>