Skip to content

Commit

Permalink
wording
Browse files Browse the repository at this point in the history
  • Loading branch information
namnguyen20999 committed Dec 6, 2024
1 parent ee9695d commit 282ae99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 1 addition & 3 deletions docs/userman/gui/extension/extension_list_of_values.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ that any changes to the list automatically refresh the display.
In this section, we'll design a visual component that represents a list of programming languages. Each language will be
displayed with its name and an icon.

This component will take a property containing a list of values and render them as a list.
When a Python variable is bound to this property, any updates to the variable will instantly reflect in the displayed list,
enabling real-time synchronization.
This visual element will take a property containing a list of values and render them as a list.

## Declaring the element {data-source="gui:doc/extension/example_library/example_library.py#L52"}

Expand Down
5 changes: 2 additions & 3 deletions docs/userman/gui/extension/extension_tabular_data.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ this approach.
In this section, we will expand the dynamic element library, initially created in the
[Scalar properties](dynamic_element/scalar_props.md) section, by adding a chessboard element.

This element will accept a property containing the state of a chess game
and display it as a visually interactive chessboard. When a Python variable is bound to this property,
updates to the variable will immediately update the chessboard displayed on the page, ensuring real-time synchronization.
This visual element will take a property representing the state of a chess game,
structured as tabular data, and render it as an interactive chessboard.

## Declaring a dynamic element {data-source="gui:doc/extension/example_library/example_library.py#L43"}
Starting from the code mentioned above, here is how you would declare this new element:
Expand Down

0 comments on commit 282ae99

Please sign in to comment.