Im trying to implement similar to Metro sample
samplesbrowser/editors/editors-metro-theme
All editors use Metro theme, except button. When i place
<
button id="btnSubmit" type="submit" value='Submit'>Submit</button>Metro style is not applied. On sample, this button rendered as <button id="btnSubmit" class="ui-button-text-only ui-button ui-igbutton ui-widget ui-widget-content ui-corner-all ui-state-default" value="Submit" type="submit" role="button" aria-disabled="false"><span id="btnSubmit_lbl" class="ui-button-text">Submit</span></button>What im missing?
Found answer,Have to place
<script type="text/javascript" language="javascript">$.ig.loader(function () {$("#btnSubmit").igButton({ labelText: $("#btnSubmit").val() });});</script>