Start a new topic

Enum Emit As String Attribute Support

Bridge has a [Enum] Emit.AsString feature that at the javascript level

emits the actual name for the enum option as a string instead of a number.


Can you please take a look at the Bridge Emit Enum As String feature and possibly add that kind of support to DuoCode... PLEASE :)


We also introduced 'Dom.TagName' enum with all possible tags for document.createElement(TagName tagName).

Usage:

 

var img = document.createElement(TagName.img);

 

Will be available in the coming DuoCode 2.2.

You Guys Are Awesome

Login or Signup to post a comment