Skip to content

Add ES5 properties for a more consistent API #270

@Danielku15

Description

@Danielku15

Description

The properties in the JavaScript area are currently resulting in get_Prop and set_Prop methods in case they are computed. It would be great to generate ES5 properties that make the usage from the public API more consistent.

As part of this the casing of the javascript classes should be changed from PascalCase to camelCase.

Possible Solutions

Extend the compiler to generate some static initializer which will expose the properties.ö This haxe seems to be working:
HaxeFoundation/haxe#5104 (comment)

Metadata

Metadata

Assignees

Labels

platform-javascriptRelated to the JavaScript version of alphaTabstate-acceptedThis is a valid topic to work on.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions