mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 13:06:00 +03:00
[GH-ISSUE #16] Add an equivalent of insertBefore to renderable #6
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fezproof on GitHub (Aug 15, 2025).
Original GitHub issue: https://github.com/anomalyco/opentui/issues/16
Right now you can only add children to a parent Renderable by using add. It would be nice to be able to add children either via an anchor node as described in insertBefore, or be able to insert a child at a particular index.
Something like
This will allow working with external layout systems much nicer. For example, SolidJS need functionality like this for it's universal renderer (which is how I ran into this).