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

Support advanced types in fields and functions #1346

Open
TwitchBronBron opened this issue Nov 6, 2024 · 0 comments
Open

Support advanced types in fields and functions #1346

TwitchBronBron opened this issue Nov 6, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@TwitchBronBron
Copy link
Member

We should add support for type system types in the field type attribute, and referencing actual functions in field onchange event and customization handlers and interface function

<component >
    <interface>
        <field id="state" type="mynamespace.enums.State" onchange="someNamespace.someCallback" />
        <function name="someNamespace.someFunction" />
    </interface>
    <customization suspendhandler="someNamespace.someFunction" />
    <customization resumehandler="someNamespace.someFunction" />
</component>
@TwitchBronBron TwitchBronBron added the enhancement New feature or request label Nov 6, 2024
@markwpearce markwpearce added this to the v1.1.0 milestone Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants