isHtmxBoosted property

bool get isHtmxBoosted

Whether it came from an hx-boosted link or form (HX-Boosted: true).

Implementation

bool get isHtmxBoosted => header('hx-boosted') == 'true';