Skip to content

Custom helpers needed #28

@MitchAnderson93

Description

@MitchAnderson93

List of custom handlebars helpers to reduce code:

  • Ability to check (in handlebars) if a json object is true or false explicitly
    e.g. {{#if item boolean}} instead of {{#if item}}

  • Ability to compare two strings
    e.g. {{#isType this.value "value"}}
    // Done, added in QOL-100

  • Ability to calculate by X/determine end of row
    // Done, added in QOL-100

Examples we can re-use:

[QH helper modules](https://github.com/search?q=repo%3AQld-Health-Online-Team%2Fdesign-system+helpers&type=code&p=3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions