• For use in form inputs. If the supplied value is truthy, add the "disabled" property, otherwise add nothing.

    Parameters

    • value: unknown

      A value with a truthiness indicative of whether the input is disabled

    Returns string

    <button type="submit" {{disabled myValue}}>Submit</button>