Directly Checking a Flag
export default {
inject: ['$toggly'],
...
}Check if a feature is on
await this.$toggly.isFeatureOn('firstFeature')Check if a feature is off
await this.$toggly.isFeatureOff('secondFeature')Evaluate a feature gate (with requirement & negate support)
await this.$toggly.evaluateFeatureGate(['firstFeature', 'secondFeature'], 'any', true)Last updated