-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collapsible Panel Docs Review #448
base: main
Are you sure you want to change the base?
Conversation
## Properties | ||
|
||
| Property | Type | Default value | Logic | Data Binding | UI Setting | Description | | ||
|---------------------------------|--------|---------------|--------------------|--------------|------------|-------------------------------------------------------| | ||
| Title <br> `title` | *Text* | `Panel Title` | Title Logic | YES | YES | The logic to determine the title of the panel. | | ||
| Title <br> `title` | *Text* | `Panel Title` | Title Logic | YES | YES | Sets the title for the panel. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, fix markup for table
As you can see, once the page is loaded and the panel is expanded, elements added to the container are visible and fully functional: | ||
|
||
<p align="center"> | ||
<img src="./example-images/component_collapsible_panel_2.png" alt="preview_2" width="780"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename images to something meaningful
You can add any elements supported in the UI-Builder to the component by dragging-and-dropping them to the content area of the Collapsible Panel. Those elements can be text, images, and even other custom components. For instance, the example below contains two elements(**Text** and **Color Picker**) added to the Collapsible Panel: | ||
|
||
<p align="center"> | ||
<img src="./example-images/component_collapsible_panel_1.png" alt="preview_1" width="780"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use please meaningful alt
messages, that are needed for accessibility(it voiced for blind people)
You can add any elements supported in the UI-Builder to the component by dragging-and-dropping them to the content area of the Collapsible Panel. Those elements can be text, images, and even other custom components. For instance, the example below contains two elements(**Text** and **Color Picker**) added to the Collapsible Panel: | ||
|
||
<p align="center"> | ||
<img src="./example-images/component_collapsible_panel_1.png" alt="preview_1" width="780"/> | ||
</p> | ||
|
||
As you can see, once the page is loaded and the panel is expanded, elements added to the container are visible and fully functional: | ||
|
||
<p align="center"> | ||
<img src="./example-images/component_collapsible_panel_2.png" alt="preview_2" width="780"/> | ||
</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move it to examples section
No description provided.