Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ The attributes listed below are properly formatted as JSON in [*example.json*](h

>>**\_styleBeforeCompletion** (string): Determines whether the Trickle button is visible even while subsequent sections of the page remain inaccessible. Acceptable values are `"hidden"`, `"disabled"`, and `"visible"`. The default is `"hidden"`.

>>**\_styleAfterClick** (string): Determines the properties of the Trickle button after it has been clicked. Acceptable values are `"hidden"`, `"disabled"`, and `"visible"`. `"hidden"` hides the button. `"disabled"` applies the "disabled" CSS class. The value `"visible"` will cause the button to maintain its visibility allowing the user an alternative method for scrolling down the page by using the button (even after all sections have been revealed). The default is `"hidden"`.
>>**\_styleAfterClick** (string): Determines the properties of the Trickle button after it has been clicked. Acceptable values are `"hidden"`, `"disabled"`, and `"visible"`. `"hidden"` hides the button. `"disabled"` applies the "disabled" CSS class. The value `"visible"` will cause the button to maintain its visibility allowing the user an alternative method for scrolling down the page by using the button (even after all sections have been revealed). The default is `"hidden"`. Note: when **\_isFullWidth** is `true`, the button is always hidden after completion regardless of this setting, to prevent stacked absolutely-positioned buttons.

>>**\_isFullWidth** (boolean): Will position the button fixed to the bottom of the window. This option will force to `true` **\_isEnabled** in the **\_stepLocking** attribute group (**\_stepLocking.\_isEnabled: true**). When **\_autoHide** is set to `true`, the button will fade-out when the learner scrolls up, away from the button. The default is `true`.

Expand Down
8 changes: 4 additions & 4 deletions properties.schema
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
"title": "Initial Visibility",
"inputType": {"type": "Select", "options":["hidden", "visible", "disabled"]},
"validators": ["required"],
"help": "Set button visibility before completion"
"help": "Button visibility before step completion. Default: hidden."
},
"_styleAfterClick": {
"type": "string",
Expand All @@ -152,7 +152,7 @@
"title": "Final Visibility",
"inputType": {"type": "Select", "options":["hidden", "visible", "disabled"]},
"validators": ["required"],
"help": "Set button visibility after completion"
"help": "Button visibility after step completion. Default: hidden. Ignored when Full Width is true; the button is always hidden after completion to prevent stacked buttons."
},
"_isFullWidth": {
"type": "boolean",
Expand Down Expand Up @@ -398,7 +398,7 @@
"default": "hidden",
"title": "Initial Visibility",
"inputType": {"type": "Select", "options":["hidden", "visible", "disabled"]},
"help": "Set button visibility before completion"
"help": "Button visibility before step completion. Default: hidden."
},
"_styleAfterClick": {
"type": "string",
Expand All @@ -407,7 +407,7 @@
"default": "hidden",
"title": "Final Visibility",
"inputType": {"type": "Select", "options":["hidden", "visible", "disabled"]},
"help": "Set button visibility after completion"
"help": "Button visibility after step completion. Default: hidden. Ignored when Full Width is true; the button is always hidden after completion to prevent stacked buttons."
},
"_isFullWidth": {
"type": "boolean",
Expand Down
2 changes: 2 additions & 0 deletions schema/article.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
"_styleBeforeCompletion": {
"type": "string",
"title": "Visibility before completion",
"description": "Button visibility before step completion. Default: hidden.",
"default": "hidden",
"enum": [
"hidden",
Expand All @@ -83,6 +84,7 @@
"_styleAfterClick": {
"type": "string",
"title": "Visibility after completion",
"description": "Button visibility after step completion. Default: hidden. Ignored when Full Width is true; the button is always hidden after completion to prevent stacked buttons.",
"default": "hidden",
"enum": [
"hidden",
Expand Down
2 changes: 2 additions & 0 deletions schema/block.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
"_styleBeforeCompletion": {
"type": "string",
"title": "Visibility before completion",
"description": "Button visibility before step completion. Default: hidden.",
"default": "hidden",
"enum": [
"hidden",
Expand All @@ -78,6 +79,7 @@
"_styleAfterClick": {
"type": "string",
"title": "Visibility after completion",
"description": "Button visibility after step completion. Default: hidden. Ignored when Full Width is true; the button is always hidden after completion to prevent stacked buttons.",
"default": "hidden",
"enum": [
"hidden",
Expand Down