Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...
    • 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>