Skip to content
Snippets Groups Projects
Commit 2b080ec8 authored by Jonathan Weth's avatar Jonathan Weth :keyboard: Committed by Julian
Browse files

Fix wording and spelling of docs

parent ef6f2542
No related branches found
No related tags found
1 merge request!2Resolve "Implement basic functionality"
Pipeline #115751 passed
...@@ -4,9 +4,9 @@ This example showcases the `rawItem` with the custom method ...@@ -4,9 +4,9 @@ This example showcases the `rawItem` with the custom method
`getColor`. Both grids on the outside call the method with `getColor`. Both grids on the outside call the method with
`"red"` while the one in the middle uses `"green"`. `"red"` while the one in the middle uses `"green"`.
We use arrays called `placedA`, `placedB` and We use arrays called `placedA`, `placedB` and
`placedC` to save, which item is contained in which grid. `placedC` to save which item is contained in which grid.
Notice: the third grid doesn't save the item position, they are always Notice: The third grid doesn't save the item positions, they are always
positioned automatically. positioned automatically.
<ClientOnly> <ClientOnly>
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
Showcasing local and global state: The local state of the counter Showcasing local and global state: The local state of the counter
components doesn't change when moved inside one grid, but is cleared when components doesn't change when moved inside one grid, but is cleared when
moved to the other. The global state is in the `data` attribute moved to another. The global state is in the `data` attribute
of each item and gets transferred as well. Both grids have also custom of each item and gets transferred as well. Both grids also have custom
highlights. highlights.
<ClientOnly> <ClientOnly>
......
# Example 6: Disabled grid # Example 6: Disabled grid
This uses the same data as the tic-tac-toe but is completely disabled. This uses the same data as the tic-tac-toe but is completely disabled.
Notice how the items still move if the tic-tac-toe data would Notice how the items still move if the tic-tac-toe data
change. Uncheck the checkbox to enable: change. Uncheck the checkbox to enable:
The grid can also be in a loading state, in which it is disabled as well, The grid can also be in a loading state, in which it is disabled as well,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment