Tundain
Accessing functions declared in child elements
Noob here, only been using solid for a few days in a tauri project. Included the relevant files.
In TilesetGFX, i have declared a function called "drawTileset", which is used inside of the TilesetGFX component.
However, in the tileset_editor component, I'd like to also be able to call that same function from within the onChange event of a "select" tag (at line 33)
I haven't found any way currently to achieve this yet, so i was wondering if someone could help me, surely smth like this must be possible?
lemme know if my explanation was a bit unclear!
Also feel free to give me tips/suggestions on how I could better tackle this structure, generally, maybe there's some potential from solid I have left untouched, as I'm still very new to this.
PS: I have changed the extensions from .tsx to .txt purely so they rended inside of discord.
1 replies