1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2024-11-21 16:13:55 +00:00

Added missing components to docs

This commit is contained in:
Harley White 2021-09-07 23:28:26 -04:00
parent bfbd41aad4
commit 5180497c90
2 changed files with 8 additions and 0 deletions

View file

@ -1,5 +1,9 @@
# The Modding Tree changelog:
- Added display-image, h-line, and v-line to documentation.
# v2.6.5.1 - 7/13/21
- Fixed offline production more.

View file

@ -27,6 +27,10 @@ These are the existing components, but you can create more in [components.js](/j
- display-text: Displays some text (can use basic HTML). The argument is the text to display. It can also be a function that returns updating text.
- display-image: Displays an image. The argument is the url of the image.
- h-line, v-line: Display a horizontal or vertical divider line, respectively.
- raw-html: Displays some basic HTML, can also be a function.
- blank: Adds empty space. The default dimensions are 8px x 17px. The argument changes the dimensions. If it's a single value (e.g. "20px"), that determines the height. If you have a pair of arguments, the first is width and the second is height.