Skip to content
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

Lua plugin: Return inserted element from AppendChild and InsertBefore #478

Merged
merged 1 commit into from
Jun 21, 2023

Conversation

ShawnCZek
Copy link
Contributor

As discussed in #390, as a shortcoming of ElementPtr, methods accepting this type should at least return the "true" element type. Furthermore, this behavior is consistent with the C++ API.

@mikke89 mikke89 added the Lua Lua binding issues label Jun 21, 2023
@mikke89 mikke89 merged commit 0923969 into mikke89:master Jun 21, 2023
@mikke89
Copy link
Owner

mikke89 commented Jun 21, 2023

Looks great, thank you!

It would be very helpful if you could also update the Lua API reference and submit a pull request for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Lua Lua binding issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants