mirror of
https://github.com/noodlapp/noodl-docs.git
synced 2026-01-11 23:02:54 +01:00
Initial commit
Co-Authored-By: kotte <14197736+mrtamagotchi@users.noreply.github.com> Co-Authored-By: mikaeltellhed <2311083+mikaeltellhed@users.noreply.github.com> Co-Authored-By: Tore Knudsen <18231882+torekndsn@users.noreply.github.com> Co-Authored-By: Michael Cartner <32543275+michaelcartner@users.noreply.github.com>
This commit is contained in:
47
library/modules/marquee/README.md
Normal file
47
library/modules/marquee/README.md
Normal file
@@ -0,0 +1,47 @@
|
||||
---
|
||||
title: Marquee Module
|
||||
hide_title: true
|
||||
---
|
||||
|
||||
# Marquee
|
||||
|
||||
[](https://github.com/noodlapp/modules/tree/main/modules/marquee)
|
||||
|
||||
This module allows you to add a marquee to your Noodl App using any of the other visual nodes.
|
||||
|
||||
<div className="ndl-image-with-background l">
|
||||
|
||||

|
||||
|
||||
</div>
|
||||
|
||||
:::tip
|
||||
|
||||
When developing components for the Marquee node, it is advisable to work on the component outside the Marquee node.
|
||||
This is because the Marquee node duplicates HTML elements and ceases to listen for hot-reload when the component is modified.
|
||||
To ensure consistent results, it is recommended to reload the page and observe the current appearance.
|
||||
|
||||
:::
|
||||
|
||||
### Getting started
|
||||
|
||||
After importing this module you will see one new nodes in the node picker called "Marquee" in the external libraries category.
|
||||
|
||||
We can start by placing the Marquee node into our visual tree.
|
||||
All the children placed in this node will be added into the marquee list and duplicated to fill the space.
|
||||
|
||||
For example when we add a Text node inside like this:
|
||||
|
||||
<div className="ndl-image-with-background">
|
||||
|
||||

|
||||
|
||||
</div>
|
||||
|
||||
Then in the preview we will see this:
|
||||
|
||||
<div className="ndl-image-with-background">
|
||||
|
||||

|
||||
|
||||
</div>
|
||||
45
library/modules/marquee/nodes/v1/marquee.md
Normal file
45
library/modules/marquee/nodes/v1/marquee.md
Normal file
@@ -0,0 +1,45 @@
|
||||
---
|
||||
title: Marquee
|
||||
hide_title: true
|
||||
---
|
||||
|
||||
<##head##>
|
||||
|
||||
# Marquee
|
||||
|
||||
This visual node adds a marquee container to the visual tree.
|
||||
|
||||
<div className="ndl-image-with-background l">
|
||||
|
||||

|
||||
|
||||
</div>
|
||||
|
||||
<##head##>
|
||||
|
||||
## Inputs
|
||||
|
||||
<div className="ndl-table-35-65">
|
||||
|
||||
| Data | Description |
|
||||
| ---------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| <span className="ndl-data">Auto Fill</span> | Whether to automatically fill blank space in the marquee with copies of the children or not. |
|
||||
| <span className="ndl-data">Speed</span> | The speed calculated as pixels/second. |
|
||||
| <span className="ndl-data">Delay</span> | The duration to delay the animation after render, in seconds. |
|
||||
| <span className="ndl-data">Loop</span> | The number of times the marquee should loop, 0 is equivalent to infinite. |
|
||||
| <span className="ndl-data">Direction</span> | The direction the marquee is sliding. |
|
||||
| <span className="ndl-data">Gradient Enabled</span> | Whether to show the gradient or not. |
|
||||
| <span className="ndl-data">Gradient Color</span> | The color of the gradient. |
|
||||
| <span className="ndl-data">Gradient Width</span> | The width of the gradient on either side in pixels. |
|
||||
|
||||
| Signal | Description |
|
||||
| ---------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| <span className="ndl-signal">Pause</span> | Pause the marquee animation. |
|
||||
| <span className="ndl-signal">Play</span> | Play the marquee animation. |
|
||||
| <span className="ndl-signal">Toggle</span> | Toggle the marquee animation state. |
|
||||
|
||||
</div>
|
||||
|
||||
## Outputs
|
||||
|
||||
This node have no unique outputs.
|
||||
9
library/modules/marquee/release-notes.md
Normal file
9
library/modules/marquee/release-notes.md
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
title: Release Notes
|
||||
hide_title: true
|
||||
---
|
||||
|
||||
# Release Notes
|
||||
|
||||
Version 1.0.0 [2023-06-13]
|
||||
* Add Marquee node
|
||||
Reference in New Issue
Block a user