We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa5147c commit 42b390fCopy full SHA for 42b390f
playground/extensions/extensions-toggle.md
@@ -31,14 +31,17 @@ export const modules = [
31
export const options = [
32
ToggleModule.defineToggle({
33
// The name of the toggle
34
+ // replace "myToggle" by the name of the toggle you want to use
35
toggle: 'myToggle',
36
// The text displayed over the toggle
37
title: 'MY TOGGLE',
38
// The labels for the on/off states of your toggle
39
values: {
40
'TOGGLED ON': true,
41
'TOGGLED OFF': false
- }
42
+ },
43
+ // Default value of your toggle
44
+ default: true
45
}),
46
47
toggle: 'myOtherToggle',
0 commit comments