gsilber / WebEZ

0 stars 1 forks source link

Expand documentation for addComponent #12

Open acbart opened 7 months ago

acbart commented 7 months ago

The documentation's tutorial doesn't really explain addComponent anywhere. This should probably be added in to explain how to create child components from the MainComponent. I assume it's the "official" way to add a child component to an app?

gsilber commented 7 months ago

It is the only way. I will add it.

From: Austin Cory Bart @.> Sent: Wednesday, April 3, 2024 8:22 AM To: gsilber/WebEZ @.> Cc: Subscribed @.***> Subject: [gsilber/WebEZ] Expand documentation for addComponent (Issue #12)

The documentation's tutorial doesn't really explain addComponent anywhere. This should probably be added in to explain how to create child components from the MainComponent. I assume it's the "official" way to add a child component to an app?

— Reply to this email directly, view it on GitHub https://github.com/gsilber/WebEZ/issues/12 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AHVF3IHVI3ROY2HYTRD6UILY3PX6BAVCNFSM6AAAAABFVGQF2GVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIZDENZYGU3TENI . You are receiving this because you are subscribed to this thread. https://github.com/notifications/beacon/AHVF3IG6TBBFUEHYQ2OFLULY3PX6BA5CNFSM6AAAAABFVGQF2GWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHII7IEXU.gif Message ID: @. @.> >

gsilber commented 7 months ago

Docs updated

From: Austin Cory Bart @.> Sent: Wednesday, April 3, 2024 8:22 AM To: gsilber/WebEZ @.> Cc: Subscribed @.***> Subject: [gsilber/WebEZ] Expand documentation for addComponent (Issue #12)

The documentation's tutorial doesn't really explain addComponent anywhere. This should probably be added in to explain how to create child components from the MainComponent. I assume it's the "official" way to add a child component to an app?

— Reply to this email directly, view it on GitHub https://github.com/gsilber/WebEZ/issues/12 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AHVF3IHVI3ROY2HYTRD6UILY3PX6BAVCNFSM6AAAAABFVGQF2GVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIZDENZYGU3TENI . You are receiving this because you are subscribed to this thread. https://github.com/notifications/beacon/AHVF3IG6TBBFUEHYQ2OFLULY3PX6BA5CNFSM6AAAAABFVGQF2GWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHII7IEXU.gif Message ID: @. @.> >

acbart commented 6 months ago

An additional note for addComponent, is that if the EzComponent has already been added before, it will move the new element to this new position.