This repository has been archived by the owner on Feb 15, 2024. It is now read-only.
Last improvements of the Page Builder API #921
Labels
Gui: Back-End
Related to the back-end side of Taipy GUI.
📈 Improvement
Improvement of a feature.
🟧 Priority: High
Stalls work on the project or its dependents
Description
A few things
renderers
module is now visible, and exposes the classesBlockElementApi
,ClassApi
,ControlElementApi
,DefaultBlockElement
, andElementApi
.All these must be hidden. The one thing we want to document is the
taipy.gui.Builder
module, where the entirety of the Reference documentation will be stored.taipy.gui.Builder.element_name()
), it would be very valuable to make the first parameter the default property of the element. For example, atext
element could be instantiated withtgb.text("The text")
.html
class to include raw HTML content:tgb.html("h1", text="My title")
would produce<h1>My title</h1>
.<div><span ...>The text</span></div>
This API would have an
attributes
parameter holding a dict that is used to set the element's HTML attributes.Acceptance Criteria
The text was updated successfully, but these errors were encountered: