mirror of
https://github.com/noodlapp/noodl-docs.git
synced 2026-01-11 14:52:54 +01:00
chore: Upgrade Docusaurus from v2 to v3 (#52)
* chore: Upgrade Docusaurus from v2 to v3 * chore: Update "Test build" GH workflow * fix: build All markdown is processed as MDX * fix: Broken links
This commit is contained in:
@@ -4,7 +4,7 @@ hide_table_of_contents: true
|
||||
title: Switch node
|
||||
---
|
||||
|
||||
<##head##>
|
||||
{/*##head##*/}
|
||||
|
||||
# Switch
|
||||
|
||||
@@ -16,7 +16,7 @@ This node holds a <span className="ndl-data">boolean</span> state. It is either
|
||||
|
||||
</div>
|
||||
|
||||
<##head##>
|
||||
{/*##head##*/}
|
||||
|
||||
## Inputs
|
||||
|
||||
@@ -24,9 +24,9 @@ This node holds a <span className="ndl-data">boolean</span> state. It is either
|
||||
|
||||
| Signal | Description |
|
||||
| ---------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| <span className="ndl-signal">On</span> | <##input:on##>Sending a signal to this input sets the state of the **Switch** to _On_.<##input##> |
|
||||
| <span className="ndl-signal">Off</span> | <##input:on##>Sending a signal to this input sets the state of the **Switch** to _Off_.<##input##> |
|
||||
| <span className="ndl-signal">Flip</span> | <##input:flip##>Sending a signal to this input sets the **Switch** to the opposite of its current state. If it is _On_ flip will set it to _Off_ and vice versa.<##input##> |
|
||||
| <span className="ndl-signal">On</span> | {/*##input:on##*/}Sending a signal to this input sets the state of the **Switch** to _On_.{/*##input##*/} |
|
||||
| <span className="ndl-signal">Off</span> | {/*##input:on##*/}Sending a signal to this input sets the state of the **Switch** to _Off_.{/*##input##*/} |
|
||||
| <span className="ndl-signal">Flip</span> | {/*##input:flip##*/}Sending a signal to this input sets the **Switch** to the opposite of its current state. If it is _On_ flip will set it to _Off_ and vice versa.{/*##input##*/} |
|
||||
|
||||
| Data | Description |
|
||||
| --------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
@@ -36,9 +36,9 @@ This node holds a <span className="ndl-data">boolean</span> state. It is either
|
||||
|
||||
| Data | Description |
|
||||
| ----------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
|
||||
| <span className="ndl-data">Current State</span> | <##output:state##>This output is either _True_ or _False_ depending on if the **Switch** is _On_ or _Off_.<##output##> |
|
||||
| <span className="ndl-data">Current State</span> | {/*##output:state##*/}This output is either _True_ or _False_ depending on if the **Switch** is _On_ or _Off_.{/*##output##*/} |
|
||||
|
||||
| Signal | Description |
|
||||
| --------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
|
||||
| <span className="ndl-signal">Switched To On</span> | <##output:switchedToOn##>This signal is sent when the **Switch** goes from _Off_ to _On_.<##output##> |
|
||||
| <span className="ndl-signal">Switched To Off</span> | <##output:switchedToOff##>This signal is sent when the **Switch** goes from _On_ to _Off_.<##output##> |
|
||||
| <span className="ndl-signal">Switched To On</span> | {/*##output:switchedToOn##*/}This signal is sent when the **Switch** goes from _Off_ to _On_.{/*##output##*/} |
|
||||
| <span className="ndl-signal">Switched To Off</span> | {/*##output:switchedToOff##*/}This signal is sent when the **Switch** goes from _On_ to _Off_.{/*##output##*/} |
|
||||
|
||||
Reference in New Issue
Block a user