For developers coming from a web developer perspective (HTML) it would be good to support XML declarations that are using lower-case-dashed syntax (aka kebap-case). Here is an example:
<page>
<scroll-view>
<stack-layout>
<label cssClass="title" text="Layouts" />
<stack-layout>
<button tag="layouts/stack-layout" text="StackLayout" tap="itemTap" />
...
Possible technical implementations:
- Split by Capital case. Ex:
Button - button
MyButton - my-button
MySuperButton - my-supper-button
- Add a decorator to the component class. Ex:
@Component({tagName: 'button'})
export class Button extends view.View implements definition.Button {
For developers coming from a web developer perspective (HTML) it would be good to support XML declarations that are using lower-case-dashed syntax (aka kebap-case). Here is an example:
Possible technical implementations:
Button-buttonMyButton-my-buttonMySuperButton-my-supper-button