configApi.htm 1.3 KB

12345678910111213141516171819202122232425262728
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>JSAPI2::Config Api</title>
  5. <meta http-equiv="content-type" content="text/html;charset=utf-8">
  6. <script type="text/javascript" src="api2.js"></script>
  7. </head>
  8. <body style="FONT-FAMILY: MS Shell Dlg 2;">
  9. <h2>Config API</h2>
  10. <h3>Methods:</h3>
  11. <input type="button" value="Set Property" onclick="ConfigSetPropertyClicked();">
  12. <br>
  13. &nbsp;&nbsp;&nbsp;&nbsp;Property Name:<input type="text" size="20" id="config_t_SetPropertyName_in" value="myProperty">
  14. <br>
  15. &nbsp;&nbsp;&nbsp;&nbsp;Property Type:
  16. <input type="radio" name="pType" id="config_t_SetPropertyType_in" checked>string</input>
  17. <input type="radio" name="pType" id="config_t_SetPropertyType_in">number</input>
  18. <input type="radio" name="pType" id="config_t_SetPropertyType_in">boolean</input>
  19. <br>
  20. &nbsp;&nbsp;&nbsp;&nbsp;Property Value:<input type="text" size="20" id="config_t_SetPropertyValue_in" value="myPropertyValue">
  21. <br><br>
  22. <input type="button" value="Get Property" onclick="ConfigGetPropertyClicked();">
  23. <br>
  24. &nbsp;&nbsp;&nbsp;&nbsp;Property Value:<input type="text" readonly size="20" id="config_t_GetPropertyValue">
  25. <br>
  26. &nbsp;&nbsp;&nbsp;&nbsp;Property Name:<input type="text" size="20" id="config_t_GetPropertyName_in" value="myProperty">
  27. </body>
  28. </html>