Example of Generating Markup with Additional Attributes

In this example, we use the following code make the call to the Template Manager to generate markup for with additional attributes:

var markup = tmplMgr.GenerateMarkup({    
         type : consts.get( "SWE_CTRL_TEXT" ),    
         attrs: "aria-label=\"abc\"  aria-labelledby=\"xyz\"  aria-describedby=\"123"    
      }); 

In the this example, this is the expected HTML string begin held by the markup variable:

<input type="text" class="siebui-input " aria-label="abc" aria-labelledby="xyz" 
aria-describedby="123 />