acelements.html 105 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538
  1. <!doctype html>
  2. <html lang="en" class="no-js">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width,initial-scale=1">
  6. <meta name="description" content="ESP8266/ESP32 WLAN configuration at run time with web interface">
  7. <link rel="canonical" href="https://Hieromon.github.io/AutoConnect/acelements.html">
  8. <meta name="author" content="Hieromon Ikasamo">
  9. <link rel="shortcut icon" href="assets/images/favicon.png">
  10. <meta name="generator" content="mkdocs-1.1.2, mkdocs-material-6.1.6">
  11. <title>AutoConnectElements - AutoConnect for ESP8266/ESP32</title>
  12. <link rel="stylesheet" href="assets/stylesheets/main.6910b76c.min.css">
  13. <link rel="stylesheet" href="assets/stylesheets/palette.196e0c26.min.css">
  14. <meta name="theme-color" content="#4051b5">
  15. <link href="https://fonts.gstatic.com" rel="preconnect" crossorigin>
  16. <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,400i,700%7CRoboto+Mono&display=fallback">
  17. <style>body,input{font-family:"Roboto",-apple-system,BlinkMacSystemFont,Helvetica,Arial,sans-serif}code,kbd,pre{font-family:"Roboto Mono",SFMono-Regular,Consolas,Menlo,monospace}</style>
  18. <link rel="stylesheet" href="css/paragraph.css">
  19. <link rel="stylesheet" href="css/extra.css">
  20. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css">
  21. <script>window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","UA-116150854-1","auto"),ga("set","anonymizeIp",!0),ga("send","pageview"),document.addEventListener("DOMContentLoaded",function(){document.forms.search&&document.forms.search.query.addEventListener("blur",function(){if(this.value){var e=document.location.pathname;ga("send","pageview",e+"?q="+this.value)}})}),document.addEventListener("DOMContentSwitch",function(){ga("send","pageview",document.location.pathname)})</script>
  22. <script async src="https://www.google-analytics.com/analytics.js"></script>
  23. </head>
  24. <body dir="ltr" data-md-color-scheme="" data-md-color-primary="indigo" data-md-color-accent="indigo">
  25. <input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off">
  26. <input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off">
  27. <label class="md-overlay" for="__drawer"></label>
  28. <div data-md-component="skip">
  29. <a href="#the-elements-for-the-custom-web-pages" class="md-skip">
  30. Skip to content
  31. </a>
  32. </div>
  33. <div data-md-component="announce">
  34. </div>
  35. <header class="md-header" data-md-component="header">
  36. <nav class="md-header-nav md-grid" aria-label="Header">
  37. <a href="https://Hieromon.github.io/AutoConnect/" title="AutoConnect for ESP8266/ESP32" class="md-header-nav__button md-logo" aria-label="AutoConnect for ESP8266/ESP32">
  38. <img src="images/arduino-logo.svg" alt="logo">
  39. </a>
  40. <label class="md-header-nav__button md-icon" for="__drawer">
  41. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h18v2H3V6m0 5h18v2H3v-2m0 5h18v2H3v-2z"/></svg>
  42. </label>
  43. <div class="md-header-nav__title" data-md-component="header-title">
  44. <div class="md-header-nav__ellipsis">
  45. <span class="md-header-nav__topic md-ellipsis">
  46. AutoConnect for ESP8266/ESP32
  47. </span>
  48. <span class="md-header-nav__topic md-ellipsis">
  49. AutoConnectElements
  50. </span>
  51. </div>
  52. </div>
  53. <label class="md-header-nav__button md-icon" for="__search">
  54. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5z"/></svg>
  55. </label>
  56. <div class="md-search" data-md-component="search" role="dialog">
  57. <label class="md-search__overlay" for="__search"></label>
  58. <div class="md-search__inner" role="search">
  59. <form class="md-search__form" name="search">
  60. <input type="text" class="md-search__input" name="query" aria-label="Search" placeholder="Search" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="search-query" data-md-state="active" required>
  61. <label class="md-search__icon md-icon" for="__search">
  62. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5z"/></svg>
  63. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12z"/></svg>
  64. </label>
  65. <button type="reset" class="md-search__icon md-icon" aria-label="Clear" data-md-component="search-reset" tabindex="-1">
  66. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"/></svg>
  67. </button>
  68. </form>
  69. <div class="md-search__output">
  70. <div class="md-search__scrollwrap" data-md-scrollfix>
  71. <div class="md-search-result" data-md-component="search-result">
  72. <div class="md-search-result__meta">
  73. Initializing search
  74. </div>
  75. <ol class="md-search-result__list"></ol>
  76. </div>
  77. </div>
  78. </div>
  79. </div>
  80. </div>
  81. <div class="md-header-nav__source">
  82. <a href="https://github.com/Hieromon/AutoConnect" title="Go to repository" class="md-source">
  83. <div class="md-source__icon md-icon">
  84. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M439.55 236.05L244 40.45a28.87 28.87 0 00-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 01-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 000 40.81l195.61 195.6a28.86 28.86 0 0040.8 0l194.69-194.69a28.86 28.86 0 000-40.81z"/></svg>
  85. </div>
  86. <div class="md-source__repository">
  87. Hieromon/AutoConnect
  88. </div>
  89. </a>
  90. </div>
  91. </nav>
  92. </header>
  93. <div class="md-container" data-md-component="container">
  94. <main class="md-main" data-md-component="main">
  95. <div class="md-main__inner md-grid">
  96. <div class="md-sidebar md-sidebar--primary" data-md-component="navigation">
  97. <div class="md-sidebar__scrollwrap">
  98. <div class="md-sidebar__inner">
  99. <nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
  100. <label class="md-nav__title" for="__drawer">
  101. <a href="https://Hieromon.github.io/AutoConnect/" title="AutoConnect for ESP8266/ESP32" class="md-nav__button md-logo" aria-label="AutoConnect for ESP8266/ESP32">
  102. <img src="images/arduino-logo.svg" alt="logo">
  103. </a>
  104. AutoConnect for ESP8266/ESP32
  105. </label>
  106. <div class="md-nav__source">
  107. <a href="https://github.com/Hieromon/AutoConnect" title="Go to repository" class="md-source">
  108. <div class="md-source__icon md-icon">
  109. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M439.55 236.05L244 40.45a28.87 28.87 0 00-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 01-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 000 40.81l195.61 195.6a28.86 28.86 0 0040.8 0l194.69-194.69a28.86 28.86 0 000-40.81z"/></svg>
  110. </div>
  111. <div class="md-source__repository">
  112. Hieromon/AutoConnect
  113. </div>
  114. </a>
  115. </div>
  116. <ul class="md-nav__list" data-md-scrollfix>
  117. <li class="md-nav__item">
  118. <a href="index.html" class="md-nav__link">
  119. Overview
  120. </a>
  121. </li>
  122. <li class="md-nav__item">
  123. <a href="gettingstarted.html" class="md-nav__link">
  124. Getting started
  125. </a>
  126. </li>
  127. <li class="md-nav__item">
  128. <a href="menu.html" class="md-nav__link">
  129. AutoConnect menu
  130. </a>
  131. </li>
  132. <li class="md-nav__item">
  133. <a href="basicusage.html" class="md-nav__link">
  134. Basic usage
  135. </a>
  136. </li>
  137. <li class="md-nav__item md-nav__item--nested">
  138. <input class="md-nav__toggle md-toggle" data-md-toggle="nav-5" type="checkbox" id="nav-5" >
  139. <label class="md-nav__link" for="nav-5">
  140. Advanced usage
  141. <span class="md-nav__icon md-icon"></span>
  142. </label>
  143. <nav class="md-nav" aria-label="Advanced usage" data-md-level="1">
  144. <label class="md-nav__title" for="nav-5">
  145. <span class="md-nav__icon md-icon"></span>
  146. Advanced usage
  147. </label>
  148. <ul class="md-nav__list" data-md-scrollfix>
  149. <li class="md-nav__item">
  150. <a href="advancedusage.html" class="md-nav__link">
  151. Advanced usage
  152. </a>
  153. </li>
  154. <li class="md-nav__item">
  155. <a href="adconnection.html" class="md-nav__link">
  156. AutoConnect WiFi connection control
  157. </a>
  158. </li>
  159. <li class="md-nav__item">
  160. <a href="adcpcontrol.html" class="md-nav__link">
  161. Captive portal control
  162. </a>
  163. </li>
  164. <li class="md-nav__item">
  165. <a href="adnetwork.html" class="md-nav__link">
  166. Settings and controls for network and WiFi
  167. </a>
  168. </li>
  169. <li class="md-nav__item">
  170. <a href="adauthentication.html" class="md-nav__link">
  171. Authentication settings
  172. </a>
  173. </li>
  174. <li class="md-nav__item">
  175. <a href="adcredential.html" class="md-nav__link">
  176. Credential accesses
  177. </a>
  178. </li>
  179. <li class="md-nav__item">
  180. <a href="adexterior.html" class="md-nav__link">
  181. Customizing page appearance
  182. </a>
  183. </li>
  184. <li class="md-nav__item">
  185. <a href="adothers.html" class="md-nav__link">
  186. Other operation settings and controls
  187. </a>
  188. </li>
  189. </ul>
  190. </nav>
  191. </li>
  192. <li class="md-nav__item md-nav__item--active md-nav__item--nested">
  193. <input class="md-nav__toggle md-toggle" data-md-toggle="nav-6" type="checkbox" id="nav-6" checked>
  194. <label class="md-nav__link" for="nav-6">
  195. Custom Web pages
  196. <span class="md-nav__icon md-icon"></span>
  197. </label>
  198. <nav class="md-nav" aria-label="Custom Web pages" data-md-level="1">
  199. <label class="md-nav__title" for="nav-6">
  200. <span class="md-nav__icon md-icon"></span>
  201. Custom Web pages
  202. </label>
  203. <ul class="md-nav__list" data-md-scrollfix>
  204. <li class="md-nav__item">
  205. <a href="acintro.html" class="md-nav__link">
  206. Custom Web pages with AutoConnect
  207. </a>
  208. </li>
  209. <li class="md-nav__item md-nav__item--active">
  210. <input class="md-nav__toggle md-toggle" data-md-toggle="toc" type="checkbox" id="__toc">
  211. <label class="md-nav__link md-nav__link--active" for="__toc">
  212. AutoConnectElements
  213. <span class="md-nav__icon md-icon"></span>
  214. </label>
  215. <a href="acelements.html" class="md-nav__link md-nav__link--active">
  216. AutoConnectElements
  217. </a>
  218. <nav class="md-nav md-nav--secondary" aria-label="Table of contents">
  219. <label class="md-nav__title" for="__toc">
  220. <span class="md-nav__icon md-icon"></span>
  221. Table of contents
  222. </label>
  223. <ul class="md-nav__list" data-md-scrollfix>
  224. <li class="md-nav__item">
  225. <a href="#the-elements-for-the-custom-web-pages" class="md-nav__link">
  226. The elements for the custom Web pages
  227. </a>
  228. </li>
  229. <li class="md-nav__item">
  230. <a href="#layout-on-a-custom-web-page" class="md-nav__link">
  231. Layout on a custom Web page
  232. </a>
  233. </li>
  234. <li class="md-nav__item">
  235. <a href="#custom-css-for-a-custom-web-page" class="md-nav__link">
  236. Custom CSS for a custom Web page
  237. </a>
  238. </li>
  239. <li class="md-nav__item">
  240. <a href="#form-and-autoconnectelements" class="md-nav__link">
  241. Form and AutoConnectElements
  242. </a>
  243. </li>
  244. <li class="md-nav__item">
  245. <a href="#autoconnectelement-a-basic-class-of-elements" class="md-nav__link">
  246. AutoConnectElement - A basic class of elements
  247. </a>
  248. <nav class="md-nav" aria-label="AutoConnectElement - A basic class of elements">
  249. <ul class="md-nav__list">
  250. <li class="md-nav__item">
  251. <a href="#constructor" class="md-nav__link">
  252. Constructor
  253. </a>
  254. </li>
  255. <li class="md-nav__item">
  256. <a href="#name" class="md-nav__link">
  257. name
  258. </a>
  259. </li>
  260. <li class="md-nav__item">
  261. <a href="#value" class="md-nav__link">
  262. value
  263. </a>
  264. </li>
  265. <li class="md-nav__item">
  266. <a href="#post" class="md-nav__link">
  267. post
  268. </a>
  269. </li>
  270. <li class="md-nav__item">
  271. <a href="#type" class="md-nav__link">
  272. type
  273. </a>
  274. </li>
  275. </ul>
  276. </nav>
  277. </li>
  278. <li class="md-nav__item">
  279. <a href="#autoconnectbutton" class="md-nav__link">
  280. AutoConnectButton
  281. </a>
  282. <nav class="md-nav" aria-label="AutoConnectButton">
  283. <ul class="md-nav__list">
  284. <li class="md-nav__item">
  285. <a href="#constructor_1" class="md-nav__link">
  286. Constructor
  287. </a>
  288. </li>
  289. <li class="md-nav__item">
  290. <a href="#name_1" class="md-nav__link">
  291. name
  292. </a>
  293. </li>
  294. <li class="md-nav__item">
  295. <a href="#value_1" class="md-nav__link">
  296. value
  297. </a>
  298. </li>
  299. <li class="md-nav__item">
  300. <a href="#action" class="md-nav__link">
  301. action
  302. </a>
  303. </li>
  304. <li class="md-nav__item">
  305. <a href="#post_1" class="md-nav__link">
  306. post
  307. </a>
  308. </li>
  309. </ul>
  310. </nav>
  311. </li>
  312. <li class="md-nav__item">
  313. <a href="#autoconnectcheckbox" class="md-nav__link">
  314. AutoConnectCheckbox
  315. </a>
  316. <nav class="md-nav" aria-label="AutoConnectCheckbox">
  317. <ul class="md-nav__list">
  318. <li class="md-nav__item">
  319. <a href="#constructor_2" class="md-nav__link">
  320. Constructor
  321. </a>
  322. </li>
  323. <li class="md-nav__item">
  324. <a href="#name_2" class="md-nav__link">
  325. name
  326. </a>
  327. </li>
  328. <li class="md-nav__item">
  329. <a href="#value_2" class="md-nav__link">
  330. value
  331. </a>
  332. </li>
  333. <li class="md-nav__item">
  334. <a href="#label" class="md-nav__link">
  335. label
  336. </a>
  337. </li>
  338. <li class="md-nav__item">
  339. <a href="#checked" class="md-nav__link">
  340. checked
  341. </a>
  342. </li>
  343. <li class="md-nav__item">
  344. <a href="#labelposition" class="md-nav__link">
  345. labelPosition
  346. </a>
  347. </li>
  348. <li class="md-nav__item">
  349. <a href="#post_2" class="md-nav__link">
  350. post
  351. </a>
  352. </li>
  353. </ul>
  354. </nav>
  355. </li>
  356. <li class="md-nav__item">
  357. <a href="#autoconnectfile" class="md-nav__link">
  358. AutoConnectFile
  359. </a>
  360. <nav class="md-nav" aria-label="AutoConnectFile">
  361. <ul class="md-nav__list">
  362. <li class="md-nav__item">
  363. <a href="#constructor_3" class="md-nav__link">
  364. Constructor
  365. </a>
  366. </li>
  367. <li class="md-nav__item">
  368. <a href="#name_3" class="md-nav__link">
  369. name
  370. </a>
  371. </li>
  372. <li class="md-nav__item">
  373. <a href="#value_3" class="md-nav__link">
  374. value
  375. </a>
  376. </li>
  377. <li class="md-nav__item">
  378. <a href="#label_1" class="md-nav__link">
  379. label
  380. </a>
  381. </li>
  382. <li class="md-nav__item">
  383. <a href="#store" class="md-nav__link">
  384. store
  385. </a>
  386. </li>
  387. <li class="md-nav__item">
  388. <a href="#post_3" class="md-nav__link">
  389. post
  390. </a>
  391. </li>
  392. </ul>
  393. </nav>
  394. </li>
  395. <li class="md-nav__item">
  396. <a href="#autoconnectinput" class="md-nav__link">
  397. AutoConnectInput
  398. </a>
  399. <nav class="md-nav" aria-label="AutoConnectInput">
  400. <ul class="md-nav__list">
  401. <li class="md-nav__item">
  402. <a href="#constructor_4" class="md-nav__link">
  403. Constructor
  404. </a>
  405. </li>
  406. <li class="md-nav__item">
  407. <a href="#name_4" class="md-nav__link">
  408. name
  409. </a>
  410. </li>
  411. <li class="md-nav__item">
  412. <a href="#value_4" class="md-nav__link">
  413. value
  414. </a>
  415. </li>
  416. <li class="md-nav__item">
  417. <a href="#label_2" class="md-nav__link">
  418. label
  419. </a>
  420. </li>
  421. <li class="md-nav__item">
  422. <a href="#pattern" class="md-nav__link">
  423. pattern
  424. </a>
  425. </li>
  426. <li class="md-nav__item">
  427. <a href="#placeholder" class="md-nav__link">
  428. placeholder
  429. </a>
  430. </li>
  431. <li class="md-nav__item">
  432. <a href="#post_4" class="md-nav__link">
  433. post
  434. </a>
  435. </li>
  436. <li class="md-nav__item">
  437. <a href="#apply" class="md-nav__link">
  438. apply
  439. </a>
  440. </li>
  441. </ul>
  442. </nav>
  443. </li>
  444. <li class="md-nav__item">
  445. <a href="#autoconnectradio" class="md-nav__link">
  446. AutoConnectRadio
  447. </a>
  448. <nav class="md-nav" aria-label="AutoConnectRadio">
  449. <ul class="md-nav__list">
  450. <li class="md-nav__item">
  451. <a href="#constructor_5" class="md-nav__link">
  452. Constructor
  453. </a>
  454. </li>
  455. <li class="md-nav__item">
  456. <a href="#name_5" class="md-nav__link">
  457. name
  458. </a>
  459. </li>
  460. <li class="md-nav__item">
  461. <a href="#values" class="md-nav__link">
  462. values
  463. </a>
  464. </li>
  465. <li class="md-nav__item">
  466. <a href="#label_3" class="md-nav__link">
  467. label
  468. </a>
  469. </li>
  470. <li class="md-nav__item">
  471. <a href="#order" class="md-nav__link">
  472. order
  473. </a>
  474. </li>
  475. <li class="md-nav__item">
  476. <a href="#checked_1" class="md-nav__link">
  477. checked
  478. </a>
  479. </li>
  480. <li class="md-nav__item">
  481. <a href="#post_5" class="md-nav__link">
  482. post
  483. </a>
  484. </li>
  485. </ul>
  486. </nav>
  487. </li>
  488. <li class="md-nav__item">
  489. <a href="#autoconnectstyle" class="md-nav__link">
  490. AutoConnectStyle
  491. </a>
  492. <nav class="md-nav" aria-label="AutoConnectStyle">
  493. <ul class="md-nav__list">
  494. <li class="md-nav__item">
  495. <a href="#constructor_6" class="md-nav__link">
  496. Constructor
  497. </a>
  498. </li>
  499. <li class="md-nav__item">
  500. <a href="#name_6" class="md-nav__link">
  501. name
  502. </a>
  503. </li>
  504. <li class="md-nav__item">
  505. <a href="#value_5" class="md-nav__link">
  506. value
  507. </a>
  508. </li>
  509. </ul>
  510. </nav>
  511. </li>
  512. <li class="md-nav__item">
  513. <a href="#autoconnectselect" class="md-nav__link">
  514. AutoConnectSelect
  515. </a>
  516. <nav class="md-nav" aria-label="AutoConnectSelect">
  517. <ul class="md-nav__list">
  518. <li class="md-nav__item">
  519. <a href="#constructor_7" class="md-nav__link">
  520. Constructor
  521. </a>
  522. </li>
  523. <li class="md-nav__item">
  524. <a href="#name_7" class="md-nav__link">
  525. name
  526. </a>
  527. </li>
  528. <li class="md-nav__item">
  529. <a href="#options" class="md-nav__link">
  530. options
  531. </a>
  532. </li>
  533. <li class="md-nav__item">
  534. <a href="#label_4" class="md-nav__link">
  535. label
  536. </a>
  537. </li>
  538. <li class="md-nav__item">
  539. <a href="#selected" class="md-nav__link">
  540. selected
  541. </a>
  542. </li>
  543. <li class="md-nav__item">
  544. <a href="#post_6" class="md-nav__link">
  545. post
  546. </a>
  547. </li>
  548. </ul>
  549. </nav>
  550. </li>
  551. <li class="md-nav__item">
  552. <a href="#autoconnectsubmit" class="md-nav__link">
  553. AutoConnectSubmit
  554. </a>
  555. <nav class="md-nav" aria-label="AutoConnectSubmit">
  556. <ul class="md-nav__list">
  557. <li class="md-nav__item">
  558. <a href="#constructor_8" class="md-nav__link">
  559. Constructor
  560. </a>
  561. </li>
  562. <li class="md-nav__item">
  563. <a href="#name_8" class="md-nav__link">
  564. name
  565. </a>
  566. </li>
  567. <li class="md-nav__item">
  568. <a href="#value_6" class="md-nav__link">
  569. value
  570. </a>
  571. </li>
  572. <li class="md-nav__item">
  573. <a href="#uri" class="md-nav__link">
  574. uri
  575. </a>
  576. </li>
  577. <li class="md-nav__item">
  578. <a href="#post_7" class="md-nav__link">
  579. post
  580. </a>
  581. </li>
  582. </ul>
  583. </nav>
  584. </li>
  585. <li class="md-nav__item">
  586. <a href="#autoconnecttext" class="md-nav__link">
  587. AutoConnectText
  588. </a>
  589. <nav class="md-nav" aria-label="AutoConnectText">
  590. <ul class="md-nav__list">
  591. <li class="md-nav__item">
  592. <a href="#constructor_9" class="md-nav__link">
  593. Constructor
  594. </a>
  595. </li>
  596. <li class="md-nav__item">
  597. <a href="#name_9" class="md-nav__link">
  598. name
  599. </a>
  600. </li>
  601. <li class="md-nav__item">
  602. <a href="#value_7" class="md-nav__link">
  603. value
  604. </a>
  605. </li>
  606. <li class="md-nav__item">
  607. <a href="#style" class="md-nav__link">
  608. style
  609. </a>
  610. </li>
  611. <li class="md-nav__item">
  612. <a href="#format" class="md-nav__link">
  613. format
  614. </a>
  615. </li>
  616. <li class="md-nav__item">
  617. <a href="#post_8" class="md-nav__link">
  618. post
  619. </a>
  620. </li>
  621. </ul>
  622. </nav>
  623. </li>
  624. <li class="md-nav__item">
  625. <a href="#how-to-coding-for-the-elements" class="md-nav__link">
  626. How to coding for the elements
  627. </a>
  628. <nav class="md-nav" aria-label="How to coding for the elements">
  629. <ul class="md-nav__list">
  630. <li class="md-nav__item">
  631. <a href="#declaration-for-the-elements-in-sketches" class="md-nav__link">
  632. Declaration for the elements in Sketches
  633. </a>
  634. </li>
  635. <li class="md-nav__item">
  636. <a href="#variant-for-autoconnectelements" class="md-nav__link">
  637. Variant for AutoConnectElements
  638. </a>
  639. </li>
  640. </ul>
  641. </nav>
  642. </li>
  643. </ul>
  644. </nav>
  645. </li>
  646. <li class="md-nav__item">
  647. <a href="acjson.html" class="md-nav__link">
  648. Custom Web pages with JSON
  649. </a>
  650. </li>
  651. <li class="md-nav__item">
  652. <a href="achandling.html" class="md-nav__link">
  653. Handling the custom Web pages
  654. </a>
  655. </li>
  656. </ul>
  657. </nav>
  658. </li>
  659. <li class="md-nav__item md-nav__item--nested">
  660. <input class="md-nav__toggle md-toggle" data-md-toggle="nav-7" type="checkbox" id="nav-7" >
  661. <label class="md-nav__link" for="nav-7">
  662. OTA Updates
  663. <span class="md-nav__icon md-icon"></span>
  664. </label>
  665. <nav class="md-nav" aria-label="OTA Updates" data-md-level="1">
  666. <label class="md-nav__title" for="nav-7">
  667. <span class="md-nav__icon md-icon"></span>
  668. OTA Updates
  669. </label>
  670. <ul class="md-nav__list" data-md-scrollfix>
  671. <li class="md-nav__item">
  672. <a href="otaupdate.html" class="md-nav__link">
  673. OTA Updates
  674. </a>
  675. </li>
  676. <li class="md-nav__item">
  677. <a href="otabrowser.html" class="md-nav__link">
  678. Using Web Browser
  679. </a>
  680. </li>
  681. <li class="md-nav__item">
  682. <a href="otaserver.html" class="md-nav__link">
  683. Using Update Server
  684. </a>
  685. </li>
  686. </ul>
  687. </nav>
  688. </li>
  689. <li class="md-nav__item md-nav__item--nested">
  690. <input class="md-nav__toggle md-toggle" data-md-toggle="nav-8" type="checkbox" id="nav-8" >
  691. <label class="md-nav__link" for="nav-8">
  692. Library APIs
  693. <span class="md-nav__icon md-icon"></span>
  694. </label>
  695. <nav class="md-nav" aria-label="Library APIs" data-md-level="1">
  696. <label class="md-nav__title" for="nav-8">
  697. <span class="md-nav__icon md-icon"></span>
  698. Library APIs
  699. </label>
  700. <ul class="md-nav__list" data-md-scrollfix>
  701. <li class="md-nav__item">
  702. <a href="api.html" class="md-nav__link">
  703. AutoConnect API
  704. </a>
  705. </li>
  706. <li class="md-nav__item">
  707. <a href="apiaux.html" class="md-nav__link">
  708. AutoConnectAux API
  709. </a>
  710. </li>
  711. <li class="md-nav__item">
  712. <a href="apiconfig.html" class="md-nav__link">
  713. AutoConnectConfig API
  714. </a>
  715. </li>
  716. <li class="md-nav__item">
  717. <a href="apielements.html" class="md-nav__link">
  718. AutoConnectElements API
  719. </a>
  720. </li>
  721. <li class="md-nav__item">
  722. <a href="apiupdate.html" class="md-nav__link">
  723. AutoConnectUpdate API
  724. </a>
  725. </li>
  726. <li class="md-nav__item">
  727. <a href="apiextra.html" class="md-nav__link">
  728. Something extra
  729. </a>
  730. </li>
  731. </ul>
  732. </nav>
  733. </li>
  734. <li class="md-nav__item md-nav__item--nested">
  735. <input class="md-nav__toggle md-toggle" data-md-toggle="nav-9" type="checkbox" id="nav-9" >
  736. <label class="md-nav__link" for="nav-9">
  737. Examples
  738. <span class="md-nav__icon md-icon"></span>
  739. </label>
  740. <nav class="md-nav" aria-label="Examples" data-md-level="1">
  741. <label class="md-nav__title" for="nav-9">
  742. <span class="md-nav__icon md-icon"></span>
  743. Examples
  744. </label>
  745. <ul class="md-nav__list" data-md-scrollfix>
  746. <li class="md-nav__item">
  747. <a href="howtoembed.html" class="md-nav__link">
  748. How to embed
  749. </a>
  750. </li>
  751. <li class="md-nav__item">
  752. <a href="datatips.html" class="md-nav__link">
  753. Tips for data conversion
  754. </a>
  755. </li>
  756. <li class="md-nav__item">
  757. <a href="menuize.html" class="md-nav__link">
  758. Attach the menus
  759. </a>
  760. </li>
  761. <li class="md-nav__item">
  762. <a href="wojson.html" class="md-nav__link">
  763. Custom Web pages w/o JSON
  764. </a>
  765. </li>
  766. </ul>
  767. </nav>
  768. </li>
  769. <li class="md-nav__item md-nav__item--nested">
  770. <input class="md-nav__toggle md-toggle" data-md-toggle="nav-10" type="checkbox" id="nav-10" >
  771. <label class="md-nav__link" for="nav-10">
  772. Appendix
  773. <span class="md-nav__icon md-icon"></span>
  774. </label>
  775. <nav class="md-nav" aria-label="Appendix" data-md-level="1">
  776. <label class="md-nav__title" for="nav-10">
  777. <span class="md-nav__icon md-icon"></span>
  778. Appendix
  779. </label>
  780. <ul class="md-nav__list" data-md-scrollfix>
  781. <li class="md-nav__item">
  782. <a href="lsbegin.html" class="md-nav__link">
  783. Inside AutoConnect::begin
  784. </a>
  785. </li>
  786. <li class="md-nav__item">
  787. <a href="credit.html" class="md-nav__link">
  788. Saved credentials access
  789. </a>
  790. </li>
  791. <li class="md-nav__item">
  792. <a href="acupload.html" class="md-nav__link">
  793. File upload handler
  794. </a>
  795. </li>
  796. <li class="md-nav__item">
  797. <a href="colorized.html" class="md-nav__link">
  798. Custom colorized
  799. </a>
  800. </li>
  801. <li class="md-nav__item">
  802. <a href="changelabel.html" class="md-nav__link">
  803. Change label text
  804. </a>
  805. </li>
  806. </ul>
  807. </nav>
  808. </li>
  809. <li class="md-nav__item">
  810. <a href="faq.html" class="md-nav__link">
  811. FAQ
  812. </a>
  813. </li>
  814. <li class="md-nav__item">
  815. <a href="changelog.html" class="md-nav__link">
  816. Change log
  817. </a>
  818. </li>
  819. <li class="md-nav__item">
  820. <a href="license.html" class="md-nav__link">
  821. License
  822. </a>
  823. </li>
  824. </ul>
  825. </nav>
  826. </div>
  827. </div>
  828. </div>
  829. <div class="md-sidebar md-sidebar--secondary" data-md-component="toc">
  830. <div class="md-sidebar__scrollwrap">
  831. <div class="md-sidebar__inner">
  832. <nav class="md-nav md-nav--secondary" aria-label="Table of contents">
  833. <label class="md-nav__title" for="__toc">
  834. <span class="md-nav__icon md-icon"></span>
  835. Table of contents
  836. </label>
  837. <ul class="md-nav__list" data-md-scrollfix>
  838. <li class="md-nav__item">
  839. <a href="#the-elements-for-the-custom-web-pages" class="md-nav__link">
  840. The elements for the custom Web pages
  841. </a>
  842. </li>
  843. <li class="md-nav__item">
  844. <a href="#layout-on-a-custom-web-page" class="md-nav__link">
  845. Layout on a custom Web page
  846. </a>
  847. </li>
  848. <li class="md-nav__item">
  849. <a href="#custom-css-for-a-custom-web-page" class="md-nav__link">
  850. Custom CSS for a custom Web page
  851. </a>
  852. </li>
  853. <li class="md-nav__item">
  854. <a href="#form-and-autoconnectelements" class="md-nav__link">
  855. Form and AutoConnectElements
  856. </a>
  857. </li>
  858. <li class="md-nav__item">
  859. <a href="#autoconnectelement-a-basic-class-of-elements" class="md-nav__link">
  860. AutoConnectElement - A basic class of elements
  861. </a>
  862. <nav class="md-nav" aria-label="AutoConnectElement - A basic class of elements">
  863. <ul class="md-nav__list">
  864. <li class="md-nav__item">
  865. <a href="#constructor" class="md-nav__link">
  866. Constructor
  867. </a>
  868. </li>
  869. <li class="md-nav__item">
  870. <a href="#name" class="md-nav__link">
  871. name
  872. </a>
  873. </li>
  874. <li class="md-nav__item">
  875. <a href="#value" class="md-nav__link">
  876. value
  877. </a>
  878. </li>
  879. <li class="md-nav__item">
  880. <a href="#post" class="md-nav__link">
  881. post
  882. </a>
  883. </li>
  884. <li class="md-nav__item">
  885. <a href="#type" class="md-nav__link">
  886. type
  887. </a>
  888. </li>
  889. </ul>
  890. </nav>
  891. </li>
  892. <li class="md-nav__item">
  893. <a href="#autoconnectbutton" class="md-nav__link">
  894. AutoConnectButton
  895. </a>
  896. <nav class="md-nav" aria-label="AutoConnectButton">
  897. <ul class="md-nav__list">
  898. <li class="md-nav__item">
  899. <a href="#constructor_1" class="md-nav__link">
  900. Constructor
  901. </a>
  902. </li>
  903. <li class="md-nav__item">
  904. <a href="#name_1" class="md-nav__link">
  905. name
  906. </a>
  907. </li>
  908. <li class="md-nav__item">
  909. <a href="#value_1" class="md-nav__link">
  910. value
  911. </a>
  912. </li>
  913. <li class="md-nav__item">
  914. <a href="#action" class="md-nav__link">
  915. action
  916. </a>
  917. </li>
  918. <li class="md-nav__item">
  919. <a href="#post_1" class="md-nav__link">
  920. post
  921. </a>
  922. </li>
  923. </ul>
  924. </nav>
  925. </li>
  926. <li class="md-nav__item">
  927. <a href="#autoconnectcheckbox" class="md-nav__link">
  928. AutoConnectCheckbox
  929. </a>
  930. <nav class="md-nav" aria-label="AutoConnectCheckbox">
  931. <ul class="md-nav__list">
  932. <li class="md-nav__item">
  933. <a href="#constructor_2" class="md-nav__link">
  934. Constructor
  935. </a>
  936. </li>
  937. <li class="md-nav__item">
  938. <a href="#name_2" class="md-nav__link">
  939. name
  940. </a>
  941. </li>
  942. <li class="md-nav__item">
  943. <a href="#value_2" class="md-nav__link">
  944. value
  945. </a>
  946. </li>
  947. <li class="md-nav__item">
  948. <a href="#label" class="md-nav__link">
  949. label
  950. </a>
  951. </li>
  952. <li class="md-nav__item">
  953. <a href="#checked" class="md-nav__link">
  954. checked
  955. </a>
  956. </li>
  957. <li class="md-nav__item">
  958. <a href="#labelposition" class="md-nav__link">
  959. labelPosition
  960. </a>
  961. </li>
  962. <li class="md-nav__item">
  963. <a href="#post_2" class="md-nav__link">
  964. post
  965. </a>
  966. </li>
  967. </ul>
  968. </nav>
  969. </li>
  970. <li class="md-nav__item">
  971. <a href="#autoconnectfile" class="md-nav__link">
  972. AutoConnectFile
  973. </a>
  974. <nav class="md-nav" aria-label="AutoConnectFile">
  975. <ul class="md-nav__list">
  976. <li class="md-nav__item">
  977. <a href="#constructor_3" class="md-nav__link">
  978. Constructor
  979. </a>
  980. </li>
  981. <li class="md-nav__item">
  982. <a href="#name_3" class="md-nav__link">
  983. name
  984. </a>
  985. </li>
  986. <li class="md-nav__item">
  987. <a href="#value_3" class="md-nav__link">
  988. value
  989. </a>
  990. </li>
  991. <li class="md-nav__item">
  992. <a href="#label_1" class="md-nav__link">
  993. label
  994. </a>
  995. </li>
  996. <li class="md-nav__item">
  997. <a href="#store" class="md-nav__link">
  998. store
  999. </a>
  1000. </li>
  1001. <li class="md-nav__item">
  1002. <a href="#post_3" class="md-nav__link">
  1003. post
  1004. </a>
  1005. </li>
  1006. </ul>
  1007. </nav>
  1008. </li>
  1009. <li class="md-nav__item">
  1010. <a href="#autoconnectinput" class="md-nav__link">
  1011. AutoConnectInput
  1012. </a>
  1013. <nav class="md-nav" aria-label="AutoConnectInput">
  1014. <ul class="md-nav__list">
  1015. <li class="md-nav__item">
  1016. <a href="#constructor_4" class="md-nav__link">
  1017. Constructor
  1018. </a>
  1019. </li>
  1020. <li class="md-nav__item">
  1021. <a href="#name_4" class="md-nav__link">
  1022. name
  1023. </a>
  1024. </li>
  1025. <li class="md-nav__item">
  1026. <a href="#value_4" class="md-nav__link">
  1027. value
  1028. </a>
  1029. </li>
  1030. <li class="md-nav__item">
  1031. <a href="#label_2" class="md-nav__link">
  1032. label
  1033. </a>
  1034. </li>
  1035. <li class="md-nav__item">
  1036. <a href="#pattern" class="md-nav__link">
  1037. pattern
  1038. </a>
  1039. </li>
  1040. <li class="md-nav__item">
  1041. <a href="#placeholder" class="md-nav__link">
  1042. placeholder
  1043. </a>
  1044. </li>
  1045. <li class="md-nav__item">
  1046. <a href="#post_4" class="md-nav__link">
  1047. post
  1048. </a>
  1049. </li>
  1050. <li class="md-nav__item">
  1051. <a href="#apply" class="md-nav__link">
  1052. apply
  1053. </a>
  1054. </li>
  1055. </ul>
  1056. </nav>
  1057. </li>
  1058. <li class="md-nav__item">
  1059. <a href="#autoconnectradio" class="md-nav__link">
  1060. AutoConnectRadio
  1061. </a>
  1062. <nav class="md-nav" aria-label="AutoConnectRadio">
  1063. <ul class="md-nav__list">
  1064. <li class="md-nav__item">
  1065. <a href="#constructor_5" class="md-nav__link">
  1066. Constructor
  1067. </a>
  1068. </li>
  1069. <li class="md-nav__item">
  1070. <a href="#name_5" class="md-nav__link">
  1071. name
  1072. </a>
  1073. </li>
  1074. <li class="md-nav__item">
  1075. <a href="#values" class="md-nav__link">
  1076. values
  1077. </a>
  1078. </li>
  1079. <li class="md-nav__item">
  1080. <a href="#label_3" class="md-nav__link">
  1081. label
  1082. </a>
  1083. </li>
  1084. <li class="md-nav__item">
  1085. <a href="#order" class="md-nav__link">
  1086. order
  1087. </a>
  1088. </li>
  1089. <li class="md-nav__item">
  1090. <a href="#checked_1" class="md-nav__link">
  1091. checked
  1092. </a>
  1093. </li>
  1094. <li class="md-nav__item">
  1095. <a href="#post_5" class="md-nav__link">
  1096. post
  1097. </a>
  1098. </li>
  1099. </ul>
  1100. </nav>
  1101. </li>
  1102. <li class="md-nav__item">
  1103. <a href="#autoconnectstyle" class="md-nav__link">
  1104. AutoConnectStyle
  1105. </a>
  1106. <nav class="md-nav" aria-label="AutoConnectStyle">
  1107. <ul class="md-nav__list">
  1108. <li class="md-nav__item">
  1109. <a href="#constructor_6" class="md-nav__link">
  1110. Constructor
  1111. </a>
  1112. </li>
  1113. <li class="md-nav__item">
  1114. <a href="#name_6" class="md-nav__link">
  1115. name
  1116. </a>
  1117. </li>
  1118. <li class="md-nav__item">
  1119. <a href="#value_5" class="md-nav__link">
  1120. value
  1121. </a>
  1122. </li>
  1123. </ul>
  1124. </nav>
  1125. </li>
  1126. <li class="md-nav__item">
  1127. <a href="#autoconnectselect" class="md-nav__link">
  1128. AutoConnectSelect
  1129. </a>
  1130. <nav class="md-nav" aria-label="AutoConnectSelect">
  1131. <ul class="md-nav__list">
  1132. <li class="md-nav__item">
  1133. <a href="#constructor_7" class="md-nav__link">
  1134. Constructor
  1135. </a>
  1136. </li>
  1137. <li class="md-nav__item">
  1138. <a href="#name_7" class="md-nav__link">
  1139. name
  1140. </a>
  1141. </li>
  1142. <li class="md-nav__item">
  1143. <a href="#options" class="md-nav__link">
  1144. options
  1145. </a>
  1146. </li>
  1147. <li class="md-nav__item">
  1148. <a href="#label_4" class="md-nav__link">
  1149. label
  1150. </a>
  1151. </li>
  1152. <li class="md-nav__item">
  1153. <a href="#selected" class="md-nav__link">
  1154. selected
  1155. </a>
  1156. </li>
  1157. <li class="md-nav__item">
  1158. <a href="#post_6" class="md-nav__link">
  1159. post
  1160. </a>
  1161. </li>
  1162. </ul>
  1163. </nav>
  1164. </li>
  1165. <li class="md-nav__item">
  1166. <a href="#autoconnectsubmit" class="md-nav__link">
  1167. AutoConnectSubmit
  1168. </a>
  1169. <nav class="md-nav" aria-label="AutoConnectSubmit">
  1170. <ul class="md-nav__list">
  1171. <li class="md-nav__item">
  1172. <a href="#constructor_8" class="md-nav__link">
  1173. Constructor
  1174. </a>
  1175. </li>
  1176. <li class="md-nav__item">
  1177. <a href="#name_8" class="md-nav__link">
  1178. name
  1179. </a>
  1180. </li>
  1181. <li class="md-nav__item">
  1182. <a href="#value_6" class="md-nav__link">
  1183. value
  1184. </a>
  1185. </li>
  1186. <li class="md-nav__item">
  1187. <a href="#uri" class="md-nav__link">
  1188. uri
  1189. </a>
  1190. </li>
  1191. <li class="md-nav__item">
  1192. <a href="#post_7" class="md-nav__link">
  1193. post
  1194. </a>
  1195. </li>
  1196. </ul>
  1197. </nav>
  1198. </li>
  1199. <li class="md-nav__item">
  1200. <a href="#autoconnecttext" class="md-nav__link">
  1201. AutoConnectText
  1202. </a>
  1203. <nav class="md-nav" aria-label="AutoConnectText">
  1204. <ul class="md-nav__list">
  1205. <li class="md-nav__item">
  1206. <a href="#constructor_9" class="md-nav__link">
  1207. Constructor
  1208. </a>
  1209. </li>
  1210. <li class="md-nav__item">
  1211. <a href="#name_9" class="md-nav__link">
  1212. name
  1213. </a>
  1214. </li>
  1215. <li class="md-nav__item">
  1216. <a href="#value_7" class="md-nav__link">
  1217. value
  1218. </a>
  1219. </li>
  1220. <li class="md-nav__item">
  1221. <a href="#style" class="md-nav__link">
  1222. style
  1223. </a>
  1224. </li>
  1225. <li class="md-nav__item">
  1226. <a href="#format" class="md-nav__link">
  1227. format
  1228. </a>
  1229. </li>
  1230. <li class="md-nav__item">
  1231. <a href="#post_8" class="md-nav__link">
  1232. post
  1233. </a>
  1234. </li>
  1235. </ul>
  1236. </nav>
  1237. </li>
  1238. <li class="md-nav__item">
  1239. <a href="#how-to-coding-for-the-elements" class="md-nav__link">
  1240. How to coding for the elements
  1241. </a>
  1242. <nav class="md-nav" aria-label="How to coding for the elements">
  1243. <ul class="md-nav__list">
  1244. <li class="md-nav__item">
  1245. <a href="#declaration-for-the-elements-in-sketches" class="md-nav__link">
  1246. Declaration for the elements in Sketches
  1247. </a>
  1248. </li>
  1249. <li class="md-nav__item">
  1250. <a href="#variant-for-autoconnectelements" class="md-nav__link">
  1251. Variant for AutoConnectElements
  1252. </a>
  1253. </li>
  1254. </ul>
  1255. </nav>
  1256. </li>
  1257. </ul>
  1258. </nav>
  1259. </div>
  1260. </div>
  1261. </div>
  1262. <div class="md-content">
  1263. <article class="md-content__inner md-typeset">
  1264. <h1>AutoConnectElements</h1>
  1265. <h2 id="the-elements-for-the-custom-web-pages">The elements for the custom Web pages<a class="headerlink" href="#the-elements-for-the-custom-web-pages" title="Permanent link">&para;</a></h2>
  1266. <p>Representative HTML elements for making the custom Web page are provided as AutoConnectElements.</p>
  1267. <ul>
  1268. <li><a href="#autoconnectbutton">AutoConnectButton</a>: Labeled action button</li>
  1269. <li><a href="#autoconnectcheckbox">AutoConnectCheckbox</a>: Labeled checkbox</li>
  1270. <li><a href="#autoconnectelement-a-basic-class-of-elements">AutoConnectElement</a>: General tag</li>
  1271. <li><a href="#autoconnectfile">AutoConnectFile</a>: File uploader</li>
  1272. <li><a href="#autoconnectinput">AutoConnectInput</a>: Labeled text input box</li>
  1273. <li><a href="#autoconnectradio">AutoConnectRadio</a>: Labeled radio button</li>
  1274. <li><a href="#autoconnectselect">AutoConnectSelect</a>: Selection list</li>
  1275. <li><a href="#autoconnectstyle">AutoConnectStyle</a>: Custom CSS code</li>
  1276. <li><a href="#autoconnectsubmit">AutoConnectSubmit</a>: Submit button</li>
  1277. <li><a href="#autoconnecttext">AutoConnectText</a>: Style attributed text</li>
  1278. </ul>
  1279. <h2 id="layout-on-a-custom-web-page">Layout on a custom Web page<a class="headerlink" href="#layout-on-a-custom-web-page" title="Permanent link">&para;</a></h2>
  1280. <p>AutoConnect will not actively be involved in the layout of custom Web pages generated from AutoConnectElements. However, each element has <a href="#post">an attribute to arrange placement</a> on a custom web page by horizontally or vertically.</p>
  1281. <h2 id="custom-css-for-a-custom-web-page">Custom CSS for a custom Web page<a class="headerlink" href="#custom-css-for-a-custom-web-page" title="Permanent link">&para;</a></h2>
  1282. <p>All custom Web page styles are limited to the built-in unique CSS embedded in the library code. Direct modification of the CSS affects AutoConnect behavior. You can use dedicated elements to relatively safely modify the style of your custom Web page.
  1283. The <a href="#autoconnectstyle">AutoConnectStyle</a> will insert the raw CSS code into the style block in HTML of the custom Web page.</p>
  1284. <h2 id="form-and-autoconnectelements">Form and AutoConnectElements<a class="headerlink" href="#form-and-autoconnectelements" title="Permanent link">&para;</a></h2>
  1285. <p>All AutoConnectElements placed on custom web pages will be contained into one form. Its form is fixed and created by AutoConnect. The form value (usually the text or checkbox you entered) is sent by <a href="#autoconnectsubmit">AutoConnectSubmit</a> using the <strong>POST</strong> method with HTTP. The post method sends the actual form data which is a query string whose contents are the <strong>name</strong> and <strong>value</strong> of AutoConnectElements. You can retrieve the value for the parameter with the Sketch from the query string with <a href="https://github.com/esp8266/Arduino/tree/master/libraries/ESP8266WebServer#getting-information-about-request-arguments">ESP8266WebServer::arg</a> function or <a href="https://github.com/Hieromon/PageBuilder#arguments-of-invoked-user-function">PageArgument</a> class of the <a href="api.html#on">AutoConnect::on</a> handler when the form is submitted.</p>
  1286. <h2 id="autoconnectelement-a-basic-class-of-elements">AutoConnectElement - <small>A basic class of elements</small><a class="headerlink" href="#autoconnectelement-a-basic-class-of-elements" title="Permanent link">&para;</a></h2>
  1287. <p>AutoConnectElement is a base class for other element classes and has common attributes for all elements. It can also be used as a <a href="#variant-for-autoconnectelements">variant</a> of each element. The following items are attributes that AutoConnectElement has and are common to other elements.</p>
  1288. <p><i class="fa fa-eye"></i> <strong>Sample</strong><br>
  1289. <small><strong><code>AutoConnectElement element("element", "&lt;hr&gt;");</code></strong></small></p>
  1290. <p><small>On the page:</small><br><img src="images/acelement.png"></p>
  1291. <h3 id="constructor"><i class="fa fa-edit"></i> Constructor<a class="headerlink" href="#constructor" title="Permanent link">&para;</a></h3>
  1292. <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #f8f8f2">AutoConnectElement(</span><span style="color: #66d9ef">const</span> <span style="color: #66d9ef">char</span><span style="color: #f92672">*</span> <span style="color: #f8f8f2">name,</span> <span style="color: #66d9ef">const</span> <span style="color: #66d9ef">char</span><span style="color: #f92672">*</span> <span style="color: #f8f8f2">value,</span> <span style="color: #66d9ef">const</span> <span style="color: #f8f8f2">ACPosterior_t</span> <span style="color: #f8f8f2">post)</span>
  1293. </code></pre></div>
  1294. <h3 id="name"><i class="fa fa-caret-right"></i> name<a class="headerlink" href="#name" title="Permanent link">&para;</a></h3>
  1295. <p>Each element has a name. The <strong>name</strong> is the String data type. You can identify each element by the name to access it with sketches. </p>
  1296. <h3 id="value"><i class="fa fa-caret-right"></i> value<a class="headerlink" href="#value" title="Permanent link">&para;</a></h3>
  1297. <p>The <strong>value</strong> is the string which is a source to generate an HTML code. Characteristics of Value vary depending on the element. The value of AutoConnectElement is native HTML code. A string of value is output as HTML as it is.</p>
  1298. <h3 id="post"><i class="fa fa-caret-right"></i> post<a class="headerlink" href="#post" title="Permanent link">&para;</a></h3>
  1299. <p>The <strong>post</strong> specifies a tag to add behind the HTML code generated from the element. Its purpose is to place elements on the custom Web page as intended by the user sketch.
  1300. AutoConnect will not actively be involved in the layout of custom Web pages generated from AutoConnectElements. Each element follows behind the previous one, with the exception of some elements. You can use the <strong>post</strong> value to arrange vertically or horizontal when the elements do not have the intended position on the custom Web Page specifying the following enumeration value as <strong>ACPosterior_t</strong> type for the <strong>post</strong>.</p>
  1301. <ul>
  1302. <li><strong><code>AC_Tag_None</code></strong> : No generate additional tags.</li>
  1303. <li><strong><code>AC_Tag_BR</code></strong> : Add a <code>&lt;br&gt;</code> tag to the end of the element.</li>
  1304. <li><strong><code>AC_Tag_P</code></strong> : Include the element in the <code>&lt;p&gt; ~ &lt;/p&gt;</code> tag.</li>
  1305. </ul>
  1306. <p>The default interpretation of the post value is specific to each element.</p>
  1307. <table>
  1308. <thead>
  1309. <tr>
  1310. <th>AutoConnectElements</th>
  1311. <th>Default interpretation of the post value</th>
  1312. </tr>
  1313. </thead>
  1314. <tbody>
  1315. <tr>
  1316. <td>AutoConnectElement</td>
  1317. <td>AC_Tag_None</td>
  1318. </tr>
  1319. <tr>
  1320. <td>AutoConnectButton</td>
  1321. <td>AC_Tag_None</td>
  1322. </tr>
  1323. <tr>
  1324. <td>AutoConnectCheckBox</td>
  1325. <td>AC_Tag_BR</td>
  1326. </tr>
  1327. <tr>
  1328. <td>AutoConnectFile</td>
  1329. <td>AC_Tag_BR</td>
  1330. </tr>
  1331. <tr>
  1332. <td>AutoConnectInput</td>
  1333. <td>AC_Tag_BR</td>
  1334. </tr>
  1335. <tr>
  1336. <td>AutoConnectRadio</td>
  1337. <td>AC_Tag_BR</td>
  1338. </tr>
  1339. <tr>
  1340. <td>AutoConnectSelect</td>
  1341. <td>AC_Tag_BR</td>
  1342. </tr>
  1343. <tr>
  1344. <td>AutoConnectSubmit</td>
  1345. <td>AC_Tag_None</td>
  1346. </tr>
  1347. <tr>
  1348. <td>AutoConnectText</td>
  1349. <td>AC_Tag_None</td>
  1350. </tr>
  1351. </tbody>
  1352. </table>
  1353. <h3 id="type"><i class="fa fa-caret-right"></i> type<a class="headerlink" href="#type" title="Permanent link">&para;</a></h3>
  1354. <p>The <strong>type</strong> indicates the type of the element and represented as the <em>ACElement_t</em> enumeration type in the Sketch. Since AutoConnectElement also acts as a variant of other elements, it can be applied to handle elements collectively. At that time, the type can be referred to by the <a href="apielements.html#typeof"><strong>typeOf()</strong></a> function. The following example changes the font color of all <a href="#autoconnecttext">AutoConnectText</a> elements of a custom Web page to gray.</p>
  1355. <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #f8f8f2">AutoConnectAux</span> <span style="color: #f8f8f2">customPage;</span>
  1356. <span style="color: #f8f8f2">AutoConnectElementVT</span><span style="color: #f92672">&amp;</span> <span style="color: #f8f8f2">elements</span> <span style="color: #f92672">=</span> <span style="color: #f8f8f2">customPage.getElements();</span>
  1357. <span style="color: #66d9ef">for</span> <span style="color: #f8f8f2">(AutoConnectElement</span><span style="color: #f92672">&amp;</span> <span style="color: #f8f8f2">elm</span> <span style="color: #f8f8f2">:</span> <span style="color: #f8f8f2">elements)</span> <span style="color: #f8f8f2">{</span>
  1358. <span style="background-color: #49483e"> <span style="color: #66d9ef">if</span> <span style="color: #f8f8f2">(elm.typeOf()</span> <span style="color: #f92672">==</span> <span style="color: #f8f8f2">AC_Text)</span> <span style="color: #f8f8f2">{</span>
  1359. </span> <span style="color: #f8f8f2">AutoConnectText</span><span style="color: #f92672">&amp;</span> <span style="color: #f8f8f2">text</span> <span style="color: #f92672">=</span> <span style="color: #66d9ef">reinterpret_cast</span><span style="color: #f92672">&lt;</span><span style="color: #f8f8f2">AutoConnectText</span><span style="color: #f92672">&amp;&gt;</span><span style="color: #f8f8f2">(elm);</span>
  1360. <span style="color: #f8f8f2">text.style</span> <span style="color: #f92672">=</span> <span style="color: #e6db74">&quot;color:gray;&quot;</span><span style="color: #f8f8f2">;</span>
  1361. <span style="color: #f8f8f2">}</span>
  1362. <span style="color: #f8f8f2">}</span>
  1363. </code></pre></div>
  1364. <p>The enumerators for <em>ACElement_t</em> are as follows:</p>
  1365. <ul>
  1366. <li>AutoConnectButton: <strong>AC_Button</strong></li>
  1367. <li>AutoConnectCheckbox: <strong>AC_Checkbox</strong> </li>
  1368. <li>AutoConnectElement: <strong>AC_Element</strong></li>
  1369. <li>AutoConnectFile: <strong>AC_File</strong></li>
  1370. <li>AutoConnectInput: <strong>AC_Input</strong></li>
  1371. <li>AutoConnectRadio: <strong>AC_Radio</strong></li>
  1372. <li>AutoConnectSelect: <strong>AC_Select</strong></li>
  1373. <li>AutoConnectStyle: <strong>AC_Style</strong></li>
  1374. <li>AutoConnectSubmit: <strong>AC_Submit</strong></li>
  1375. <li>AutoConnectText: <strong>AC_Text</strong></li>
  1376. <li>Uninitialized element: <strong>AC_Unknown</strong></li>
  1377. </ul>
  1378. <p>Furthermore, to convert an entity that is not an AutoConnectElement to its native type, you must <a href="https://en.cppreference.com/w/cpp/language/reinterpret_cast">re-interpret</a> that type with c++. Or, you can be coding the Sketch more easily with using the <a href="apielements.html#ast62"><strong>as&lt;T></strong></a> function.</p>
  1379. <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #f8f8f2">AutoConnectAux</span> <span style="color: #f8f8f2">customPage;</span>
  1380. <span style="color: #f8f8f2">AutoConnectElementVT</span><span style="color: #f92672">&amp;</span> <span style="color: #f8f8f2">elements</span> <span style="color: #f92672">=</span> <span style="color: #f8f8f2">customPage.getElements();</span>
  1381. <span style="color: #66d9ef">for</span> <span style="color: #f8f8f2">(AutoConnectElement</span><span style="color: #f92672">&amp;</span> <span style="color: #f8f8f2">elm</span> <span style="color: #f8f8f2">:</span> <span style="color: #f8f8f2">elements)</span> <span style="color: #f8f8f2">{</span>
  1382. <span style="color: #66d9ef">if</span> <span style="color: #f8f8f2">(elm.type()</span> <span style="color: #f92672">==</span> <span style="color: #f8f8f2">AC_Text)</span> <span style="color: #f8f8f2">{</span>
  1383. <span style="background-color: #49483e"> <span style="color: #f8f8f2">AutoConnectText</span><span style="color: #f92672">&amp;</span> <span style="color: #f8f8f2">text</span> <span style="color: #f92672">=</span> <span style="color: #f8f8f2">customPage[elm.name].as</span><span style="color: #f92672">&lt;</span><span style="color: #f8f8f2">AutoConnectText</span><span style="color: #f92672">&gt;</span><span style="color: #f8f8f2">();</span>
  1384. </span> <span style="color: #f8f8f2">text.style</span> <span style="color: #f92672">=</span> <span style="color: #e6db74">&quot;color:gray;&quot;</span><span style="color: #f8f8f2">;</span>
  1385. <span style="color: #75715e">// Or, it is also possible to write the code further reduced as follows.</span>
  1386. <span style="color: #75715e">// customPage[elm.name].as&lt;AutoConnectText&gt;().style = &quot;color:gray;&quot;;</span>
  1387. <span style="color: #f8f8f2">}</span>
  1388. <span style="color: #f8f8f2">}</span>
  1389. </code></pre></div>
  1390. <h2 id="autoconnectbutton">AutoConnectButton<a class="headerlink" href="#autoconnectbutton" title="Permanent link">&para;</a></h2>
  1391. <p>AutoConnectButton generates an HTML <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">button</span> <span style="color: #a6e22e">type</span><span style="color: #f92672">=</span><span style="color: #e6db74">&quot;button&quot;</span><span style="color: #f8f8f2">&gt;</span></code> tag and locates a clickable button to a custom Web page. Currently AutoConnectButton corresponds only to name, value, an <em>onclick</em> attribute of HTML button tag. An <em>onclick</em> attribute is generated from an <code>action</code> member variable of the AutoConnectButton, which is mostly used with a JavaScript to activate a script.</p>
  1392. <p><i class="fa fa-eye"></i> <strong>Sample</strong><br>
  1393. <small><strong><code>AutoConnectButton button("button", "OK", "myFunction()");</code></strong></small></p>
  1394. <p><small>On the page:</small><br><img src="images/acbutton.png"></p>
  1395. <h3 id="constructor_1"><i class="fa fa-edit"></i> Constructor<a class="headerlink" href="#constructor_1" title="Permanent link">&para;</a></h3>
  1396. <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #f8f8f2">AutoConnectButton(</span><span style="color: #66d9ef">const</span> <span style="color: #66d9ef">char</span><span style="color: #f92672">*</span> <span style="color: #f8f8f2">name,</span> <span style="color: #66d9ef">const</span> <span style="color: #66d9ef">char</span><span style="color: #f92672">*</span> <span style="color: #f8f8f2">value,</span> <span style="color: #66d9ef">const</span> <span style="color: #f8f8f2">String</span><span style="color: #f92672">&amp;</span> <span style="color: #f8f8f2">action,</span> <span style="color: #66d9ef">const</span> <span style="color: #f8f8f2">ACPosterior_t</span> <span style="color: #f8f8f2">post)</span>
  1397. </code></pre></div>
  1398. <h3 id="name_1"><i class="fa fa-caret-right"></i> name<a class="headerlink" href="#name_1" title="Permanent link">&para;</a></h3>
  1399. <p>It is the <code>name</code> of the AutoConnectButton element and matches the name attribute of the button tag. It also becomes the parameter name of the query string when submitted.</p>
  1400. <h3 id="value_1"><i class="fa fa-caret-right"></i> value<a class="headerlink" href="#value_1" title="Permanent link">&para;</a></h3>
  1401. <p>It becomes a value of the <code>value</code> attribute of an HTML button tag.</p>
  1402. <h3 id="action"><i class="fa fa-caret-right"></i> action<a class="headerlink" href="#action" title="Permanent link">&para;</a></h3>
  1403. <p><strong>action</strong> is String data type and is an <em>onclick</em> attribute fire on a mouse click on the element. It is mostly used with a JavaScript to activate a script.<sup id="fnref:1"><a class="footnote-ref" href="#fn:1">1</a></sup> For example, the following code defines a custom Web page that copies a content of <code>Text1</code> to <code>Text2</code> by clicking <code>Button</code>.</p>
  1404. <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #66d9ef">const</span> <span style="color: #66d9ef">char</span><span style="color: #f92672">*</span> <span style="color: #f8f8f2">scCopyText</span> <span style="color: #f92672">=</span> <span style="color: #e6db74">R&quot;(</span>
  1405. <span style="color: #e6db74">&lt;script&gt;</span>
  1406. <span style="background-color: #49483e"><span style="color: #e6db74">function CopyText() {</span>
  1407. </span><span style="background-color: #49483e"><span style="color: #e6db74"> document.getElementById(&quot;Text2&quot;).value = document.getElementById(&quot;Text1&quot;).value;</span>
  1408. </span><span style="background-color: #49483e"><span style="color: #e6db74">}</span>
  1409. </span><span style="color: #e6db74">&lt;/script&gt;</span>
  1410. <span style="color: #e6db74">)&quot;</span><span style="color: #f8f8f2">;</span>
  1411. <span style="color: #f8f8f2">ACInput(Text1,</span> <span style="color: #e6db74">&quot;Text1&quot;</span><span style="color: #f8f8f2">);</span>
  1412. <span style="color: #f8f8f2">ACInput(Text2,</span> <span style="color: #e6db74">&quot;Text2&quot;</span><span style="color: #f8f8f2">);</span>
  1413. <span style="background-color: #49483e"><span style="color: #f8f8f2">ACButton(Button,</span> <span style="color: #e6db74">&quot;COPY&quot;</span><span style="color: #f8f8f2">,</span> <span style="color: #e6db74">&quot;CopyText()&quot;</span><span style="color: #f8f8f2">);</span>
  1414. </span><span style="color: #f8f8f2">ACElement(TextCopy,</span> <span style="color: #f8f8f2">scCopyText);</span>
  1415. </code></pre></div>
  1416. <h3 id="post_1"><i class="fa fa-caret-right"></i> post<a class="headerlink" href="#post_1" title="Permanent link">&para;</a></h3>
  1417. <p>Specifies a tag to add behind the HTML code generated from the element. The default values is <code>AC_Tag_None</code>.</p>
  1418. <h2 id="autoconnectcheckbox">AutoConnectCheckbox<a class="headerlink" href="#autoconnectcheckbox" title="Permanent link">&para;</a></h2>
  1419. <p>AutoConnectCheckbox generates an HTML <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">input</span> <span style="color: #a6e22e">type</span><span style="color: #f92672">=</span><span style="color: #e6db74">&quot;checkbox&quot;</span><span style="color: #f8f8f2">&gt;</span></code> tag and a <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">label</span><span style="color: #f8f8f2">&gt;</span></code> tag. It places horizontally on a custom Web page by default.</p>
  1420. <p><i class="fa fa-eye"></i> <strong>Sample</strong><br>
  1421. <small><strong><code>AutoConnectCheckbox checkbox("checkbox", "uniqueapid", "Use APID unique", false);</code></strong></small></p>
  1422. <p><small>On the page:</small><br><img src="images/accheckbox.png"></p>
  1423. <h3 id="constructor_2"><i class="fa fa-edit"></i> Constructor<a class="headerlink" href="#constructor_2" title="Permanent link">&para;</a></h3>
  1424. <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #f8f8f2">AutoConnectCheckbox(</span><span style="color: #66d9ef">const</span> <span style="color: #66d9ef">char</span><span style="color: #f92672">*</span> <span style="color: #f8f8f2">name,</span> <span style="color: #66d9ef">const</span> <span style="color: #66d9ef">char</span><span style="color: #f92672">*</span> <span style="color: #f8f8f2">value,</span> <span style="color: #66d9ef">const</span> <span style="color: #66d9ef">char</span><span style="color: #f92672">*</span> <span style="color: #f8f8f2">label,</span> <span style="color: #66d9ef">const</span> <span style="color: #66d9ef">bool</span> <span style="color: #f8f8f2">checked,</span> <span style="color: #66d9ef">const</span> <span style="color: #f8f8f2">ACPosition_t</span> <span style="color: #f8f8f2">labelPosition,</span> <span style="color: #66d9ef">const</span> <span style="color: #f8f8f2">ACPosterior_t</span> <span style="color: #f8f8f2">post)</span>
  1425. </code></pre></div>
  1426. <h3 id="name_2"><i class="fa fa-caret-right"></i> name<a class="headerlink" href="#name_2" title="Permanent link">&para;</a></h3>
  1427. <p>It is the <code>name</code> of the AutoConnectCheckbox element and matches the name attribute of the input tag. It also becomes the parameter name of the query string when submitted.</p>
  1428. <h3 id="value_2"><i class="fa fa-caret-right"></i> value<a class="headerlink" href="#value_2" title="Permanent link">&para;</a></h3>
  1429. <p>It becomes a value of the <code>value</code> attribute of an HTML <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">input</span> <span style="color: #a6e22e">type</span><span style="color: #f92672">=</span><span style="color: #e6db74">&quot;checkbox&quot;</span><span style="color: #f8f8f2">&gt;</span></code> tag.</p>
  1430. <h3 id="label"><i class="fa fa-caret-right"></i> label<a class="headerlink" href="#label" title="Permanent link">&para;</a></h3>
  1431. <p>A label is an optional string. A label is always arranged on the right side of the checkbox. Specification of a label will generate an HTML <code>&lt;label&gt;</code> tag with an <code>id</code> attribute. The checkbox and the label are connected by the id attribute.
  1432. Only <i class="far fa-square"></i> will be displayed if a label is not specified.</p>
  1433. <h3 id="checked"><i class="fa fa-caret-right"></i> checked<a class="headerlink" href="#checked" title="Permanent link">&para;</a></h3>
  1434. <p>A checked is a Boolean value and indicates the checked status of the checkbox. The value of the checked checkbox element is packed in the query string and sent.</p>
  1435. <h3 id="labelposition"><i class="fa fa-caret-right"></i> labelPosition<a class="headerlink" href="#labelposition" title="Permanent link">&para;</a></h3>
  1436. <p>The position of the label belonging to the checkbox can be specified around the element. The labelPosition specifies the position of the label to generate with <strong>ACPostion_t</strong> enumeration value. The default value is <code>AC_Behind</code>.</p>
  1437. <ul>
  1438. <li><strong><code>AC_Infront</code></strong> : Place a label in front of the check box.</li>
  1439. <li><strong><code>AC_Behind</code></strong> : Place a label behind the check box.</li>
  1440. </ul>
  1441. <h3 id="post_2"><i class="fa fa-caret-right"></i> post<a class="headerlink" href="#post_2" title="Permanent link">&para;</a></h3>
  1442. <p>Specifies a tag to add behind the HTML code generated from the element. The default values is <code>AC_Tag_BR</code>.</p>
  1443. <h2 id="autoconnectfile">AutoConnectFile<a class="headerlink" href="#autoconnectfile" title="Permanent link">&para;</a></h2>
  1444. <p>AutoConnectFile generates an HTML <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">input</span> <span style="color: #a6e22e">type</span><span style="color: #f92672">=</span><span style="color: #e6db74">&quot;file&quot;</span><span style="color: #f8f8f2">&gt;</span></code> tag and a <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">label</span><span style="color: #f8f8f2">&gt;</span></code> tag. AutoConnectFile enables file upload from the client through the web browser to ESP8266/ESP32 module. You can select the flash in the module, external SD device or any output destination as the storage of the uploaded file.</p>
  1445. <p><i class="fa fa-eye"></i> <strong>Sample</strong><br>
  1446. <small><strong><code>AutoConnectFile file("file", "", "Upload:", AC_File_FS)</code></strong></small></p>
  1447. <p><small>On the page:</small><br><img src="images/acfile.png"></p>
  1448. <h3 id="constructor_3"><i class="fa fa-edit"></i> Constructor<a class="headerlink" href="#constructor_3" title="Permanent link">&para;</a></h3>
  1449. <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #f8f8f2">AutoConnectFile(</span><span style="color: #66d9ef">const</span> <span style="color: #66d9ef">char</span><span style="color: #f92672">*</span> <span style="color: #f8f8f2">name,</span> <span style="color: #66d9ef">const</span> <span style="color: #66d9ef">char</span><span style="color: #f92672">*</span> <span style="color: #f8f8f2">value,</span> <span style="color: #66d9ef">const</span> <span style="color: #66d9ef">char</span><span style="color: #f92672">*</span> <span style="color: #f8f8f2">label,</span> <span style="color: #66d9ef">const</span> <span style="color: #f8f8f2">ACFile_t</span> <span style="color: #f8f8f2">store,</span> <span style="color: #66d9ef">const</span> <span style="color: #f8f8f2">ACPosterior_t</span> <span style="color: #f8f8f2">post)</span>
  1450. </code></pre></div>
  1451. <h3 id="name_3"><i class="fa fa-caret-right"></i> name<a class="headerlink" href="#name_3" title="Permanent link">&para;</a></h3>
  1452. <p>It is the <code>name</code> of the AutoConnectFile element and matches the name attribute of the input tag. It also becomes the parameter name of the query string when submitted.</p>
  1453. <h3 id="value_3"><i class="fa fa-caret-right"></i> value<a class="headerlink" href="#value_3" title="Permanent link">&para;</a></h3>
  1454. <p>File name to be upload. The value contains the value entered by the client browser to the <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">input</span> <span style="color: #a6e22e">type</span><span style="color: #f92672">=</span><span style="color: #e6db74">&quot;file&quot;</span><span style="color: #f8f8f2">&gt;</span></code> tag and is read-only. Even If you give a value to the constructor, it does not affect as an initial value like a default file name.</p>
  1455. <h3 id="label_1"><i class="fa fa-caret-right"></i> label<a class="headerlink" href="#label_1" title="Permanent link">&para;</a></h3>
  1456. <p>A <code>label</code> is an optional string. A label is always arranged on the left side of the input box. Specification of a label will generate an HTML <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">label</span><span style="color: #f8f8f2">&gt;</span></code> tag with an id attribute. The input box and the label are connected by the id attribute.</p>
  1457. <h3 id="store"><i class="fa fa-caret-right"></i> store<a class="headerlink" href="#store" title="Permanent link">&para;</a></h3>
  1458. <p>Specifies the destination to save the uploaded file. The destination can be specified the following values ​​in the <em>ACFile_t</em> enumeration type.</p>
  1459. <ul>
  1460. <li><strong><code>AC_File_FS</code></strong> : Save as the SPIFFS file in flash of ESP8266/ESP32 module.</li>
  1461. <li><strong><code>AC_File_SD</code></strong> : Save to an external SD device connected to ESP8266/ESP32 module.</li>
  1462. <li><strong><code>AC_File_Extern</code></strong> : Pass the content of the uploaded file to the uploader which is declared by the Sketch individually. Its uploader must inherit <a href="acupload.html#to-upload-to-a-device-other-than-flash-or-sd"><strong>AutoConnectUploadHandler</strong></a> class and implements <em>_open</em>, <em>_write</em> and <em>_close</em> function.</li>
  1463. </ul>
  1464. <div class="admonition note">
  1465. <p class="admonition-title">Built-in uploader is ready.</p>
  1466. <p>AutoConnect already equips the built-in uploader for saving to the SPIFFS as AC_File_FS and the external SD as AC_File_SD. It is already implemented inside AutoConnect and will store uploaded file automatically.</p>
  1467. </div>
  1468. <h3 id="post_3"><i class="fa fa-caret-right"></i> post<a class="headerlink" href="#post_3" title="Permanent link">&para;</a></h3>
  1469. <p>Specifies a tag to add behind the HTML code generated from the element. The default values is <code>AC_Tag_BR</code>.</p>
  1470. <h2 id="autoconnectinput">AutoConnectInput<a class="headerlink" href="#autoconnectinput" title="Permanent link">&para;</a></h2>
  1471. <p>AutoConnectInput generates an HTML <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">input</span> <span style="color: #a6e22e">type</span><span style="color: #f92672">=</span><span style="color: #e6db74">&quot;text&quot;</span><span style="color: #f8f8f2">&gt;</span></code>, <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">input</span> <span style="color: #a6e22e">type</span><span style="color: #f92672">=</span><span style="color: #e6db74">&quot;number&quot;</span><span style="color: #f8f8f2">&gt;</span></code> or <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">input</span> <span style="color: #a6e22e">type</span><span style="color: #f92672">=</span><span style="color: #e6db74">&quot;password&quot;</span><span style="color: #f8f8f2">&gt;</span></code> tag and a <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">label</span><span style="color: #f8f8f2">&gt;</span></code> tag. It can also have a placeholder. The value of the input box is passed to the destination in the query string and can be retrieved programmatically. You can also update from the Sketches.</p>
  1472. <p><i class="fa fa-eye"></i> <strong>Sample</strong><br>
  1473. <small><strong><code>AutoConnectInput input("input", "", "Server", "MQTT broker server");</code></strong></small></p>
  1474. <p><small>On the page:</small><br><img src="images/acinput.png"></p>
  1475. <h3 id="constructor_4"><i class="fa fa-edit"></i> Constructor<a class="headerlink" href="#constructor_4" title="Permanent link">&para;</a></h3>
  1476. <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #f8f8f2">AutoConnectInput(</span><span style="color: #66d9ef">const</span> <span style="color: #66d9ef">char</span><span style="color: #f92672">*</span> <span style="color: #f8f8f2">name,</span> <span style="color: #66d9ef">const</span> <span style="color: #66d9ef">char</span><span style="color: #f92672">*</span> <span style="color: #f8f8f2">value,</span> <span style="color: #66d9ef">const</span> <span style="color: #66d9ef">char</span><span style="color: #f92672">*</span> <span style="color: #f8f8f2">label,</span> <span style="color: #66d9ef">const</span> <span style="color: #66d9ef">char</span><span style="color: #f92672">*</span> <span style="color: #f8f8f2">pattern,</span> <span style="color: #66d9ef">const</span> <span style="color: #66d9ef">char</span><span style="color: #f92672">*</span> <span style="color: #f8f8f2">placeholder,</span> <span style="color: #66d9ef">const</span> <span style="color: #f8f8f2">ACPosterior_t</span> <span style="color: #f8f8f2">post,</span> <span style="color: #66d9ef">const</span> <span style="color: #f8f8f2">ACInput_t</span> <span style="color: #f8f8f2">apply)</span>
  1477. </code></pre></div>
  1478. <h3 id="name_4"><i class="fa fa-caret-right"></i> name<a class="headerlink" href="#name_4" title="Permanent link">&para;</a></h3>
  1479. <p>It is the <code>name</code> of the AutoConnectInput element and matches the name attribute, the id attribute of the input tag. It also becomes the parameter name of the query string when submitted.</p>
  1480. <h3 id="value_4"><i class="fa fa-caret-right"></i> value<a class="headerlink" href="#value_4" title="Permanent link">&para;</a></h3>
  1481. <p>It becomes a string value of the <code>value</code> attribute of an HTML <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">input</span> <span style="color: #a6e22e">type</span><span style="color: #f92672">=</span><span style="color: #e6db74">&quot;text&quot;</span><span style="color: #f8f8f2">&gt;</span></code> tag. The text entered from the custom Web page will be grouped in the query string of the form submission and the string set before accessing the page will be displayed as the initial value.</p>
  1482. <h3 id="label_2"><i class="fa fa-caret-right"></i> label<a class="headerlink" href="#label_2" title="Permanent link">&para;</a></h3>
  1483. <p>A <code>label</code> is an optional string. A label is always arranged on the left side of the input box. Specification of a label will generate an HTML <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">label</span><span style="color: #f8f8f2">&gt;</span></code> tag with an id attribute. The input box and the label are connected by the id attribute.</p>
  1484. <h3 id="pattern"><i class="fa fa-caret-right"></i> pattern<a class="headerlink" href="#pattern" title="Permanent link">&para;</a></h3>
  1485. <p>A <code>pattern</code> specifies a <a href="https://www.w3schools.com/js/js_regexp.asp">regular expression</a> that the AutoConnectInput element's value is checked against on form submission. If it is invalid, the background color will change, but it will be sent even if the data format does not match. To check whether the entered value matches the pattern, use the <a href="apielements.html#isvalid">isValid</a> function.</p>
  1486. <ul>
  1487. <li>The password that must contain 8 or more characters that are of at least one number, and one uppercase and lowercase letter:<br><code>(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}</code></li>
  1488. <li>
  1489. <p>Email address as <em>characters@characters.domain</em>:<br><code>[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}</code></p>
  1490. </li>
  1491. <li>
  1492. <p>IP address:<br><code>(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])</code></p>
  1493. </li>
  1494. <li>
  1495. <p>Host name of Internet:<br><code>(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])</code></p>
  1496. </li>
  1497. <li>
  1498. <p>Date (MM/DD/YYYY) as range 1900-2099:<br><code>(0[1-9]|1[012])[- \/.](0[1-9]|[12][0-9]|3[01])[- \/.](19|20)\d\d</code></p>
  1499. </li>
  1500. <li>
  1501. <p>Twitter account:<br><code>^@?(\w){1,15}$</code></p>
  1502. </li>
  1503. </ul>
  1504. <h3 id="placeholder"><i class="fa fa-caret-right"></i> placeholder<a class="headerlink" href="#placeholder" title="Permanent link">&para;</a></h3>
  1505. <p>A placeholder is an option string. Specification of a placeholder will generate a <code>placeholder</code> attribute for the input tag.</p>
  1506. <h3 id="post_4"><i class="fa fa-caret-right"></i> post<a class="headerlink" href="#post_4" title="Permanent link">&para;</a></h3>
  1507. <p>Specifies a tag to add behind the HTML code generated from the element. The default values is <code>AC_Tag_BR</code>.</p>
  1508. <h3 id="apply"><i class="fa fa-caret-right"></i> apply<a class="headerlink" href="#apply" title="Permanent link">&para;</a></h3>
  1509. <p>Specifies the type of input that the text box accepts. AutoConnectInput will generate either a <code>input type="text"</code>, <code>input type="password"</code>, or <code>input type="number"</code> tag based on the <code>apply</code> specifying as input type. The input type can be specified the following values in the <em>ACInput_t</em> enumeration type.</p>
  1510. <ul>
  1511. <li><strong><code>AC_Input_Text</code></strong> : <code>input type="text"</code></li>
  1512. <li><strong><code>AC_Input_Password</code></strong> : <code>input type="password"</code></li>
  1513. <li><strong><code>AC_Input_Number</code></strong> : <code>input type="number"</code></li>
  1514. </ul>
  1515. <h2 id="autoconnectradio">AutoConnectRadio<a class="headerlink" href="#autoconnectradio" title="Permanent link">&para;</a></h2>
  1516. <p>AutoConnectRadio generates few HTML <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">input</span> <span style="color: #a6e22e">type</span><span style="color: #f92672">=</span><span style="color: #e6db74">&quot;radio&quot;</span><span style="color: #f8f8f2">&gt;</span></code> tags as grouped and the same number of <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">label</span><span style="color: #f8f8f2">&gt;</span></code> tags. AutoConnectRadio can keep the value of a radio button as a collection. The grouped values will be placed in the custom Web page to select only one exclusively.</p>
  1517. <p><i class="fa fa-eye"></i> <strong>Sample</strong><br>
  1518. <small><strong><code>AutoConnectRadio radio("radio", { "30 sec.", "60 sec.", "180 sec." }, "Update period", AC_Vertical, 1);</code></strong></small></p>
  1519. <p><small>On the page:</small><br><img src="images/acradio.png"></p>
  1520. <h3 id="constructor_5"><i class="fa fa-edit"></i> Constructor<a class="headerlink" href="#constructor_5" title="Permanent link">&para;</a></h3>
  1521. <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #f8f8f2">AutoConnectRadio(</span><span style="color: #66d9ef">const</span> <span style="color: #66d9ef">char</span><span style="color: #f92672">*</span> <span style="color: #f8f8f2">name,</span> <span style="color: #f8f8f2">std</span><span style="color: #f92672">::</span><span style="color: #f8f8f2">vector</span><span style="color: #f92672">&lt;</span><span style="color: #f8f8f2">String</span><span style="color: #f92672">&gt;</span> <span style="color: #66d9ef">const</span><span style="color: #f92672">&amp;</span> <span style="color: #f8f8f2">values,</span> <span style="color: #66d9ef">const</span> <span style="color: #66d9ef">char</span><span style="color: #f92672">*</span> <span style="color: #f8f8f2">label,</span> <span style="color: #66d9ef">const</span> <span style="color: #f8f8f2">ACArrange_t</span> <span style="color: #f8f8f2">order,</span> <span style="color: #66d9ef">const</span> <span style="color: #66d9ef">uint8_t</span> <span style="color: #f8f8f2">checked,</span> <span style="color: #66d9ef">const</span> <span style="color: #f8f8f2">ACPosterior_t</span> <span style="color: #f8f8f2">post)</span>
  1522. </code></pre></div>
  1523. <h3 id="name_5"><i class="fa fa-caret-right"></i> name<a class="headerlink" href="#name_5" title="Permanent link">&para;</a></h3>
  1524. <p>It is the <code>name</code> of the AutoConnectRadio element and matches the name attribute of the input tags. It also becomes the parameter name of the query string when submitted.</p>
  1525. <h3 id="values"><i class="fa fa-caret-right"></i> values<a class="headerlink" href="#values" title="Permanent link">&para;</a></h3>
  1526. <p>A <code>values</code> is an array of String type for the radio button options which as actually <a href="https://en.cppreference.com/w/cpp/container/vector">std::vector</a>. It is an initialization list can be used. The input tags will be generated from each entry in the values, the amount of which is the same as the number of items in <code>values</code>.</p>
  1527. <h3 id="label_3"><i class="fa fa-caret-right"></i> label<a class="headerlink" href="#label_3" title="Permanent link">&para;</a></h3>
  1528. <p>A label is an optional string. A label will be arranged in the left or top of the radio buttons according to the <strong>order</strong>. Specification of a label will generate an HTML <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">label</span><span style="color: #f8f8f2">&gt;</span></code> tag with an <code>id</code> attribute. The radio buttons and the label are connected by the id attribute.</p>
  1529. <h3 id="order"><i class="fa fa-caret-right"></i> order<a class="headerlink" href="#order" title="Permanent link">&para;</a></h3>
  1530. <p>A <code>order</code> specifies the direction to arrange the radio buttons. It is a value of type <code>ACArrange_t</code> and accepts one of the following:</p>
  1531. <ul>
  1532. <li><strong><code>AC_Horizontal</code></strong> : Horizontal arrangement.</li>
  1533. <li><strong><code>AC_Vertical</code></strong> : Vertical arrangement.</li>
  1534. </ul>
  1535. <p>A label will place in the left or the top according to the <strong>order</strong>.</p>
  1536. <h3 id="checked_1"><i class="fa fa-caret-right"></i> checked<a class="headerlink" href="#checked_1" title="Permanent link">&para;</a></h3>
  1537. <p>A <code>checked</code> specifies the index number (1-based) of the <strong>values</strong> to be checked. If this parameter is not specified neither item is checked.</p>
  1538. <h3 id="post_5"><i class="fa fa-caret-right"></i> post<a class="headerlink" href="#post_5" title="Permanent link">&para;</a></h3>
  1539. <p>Specifies a tag to add behind the HTML code generated from the element. The default values is <code>AC_Tag_BR</code>.</p>
  1540. <h2 id="autoconnectstyle">AutoConnectStyle<a class="headerlink" href="#autoconnectstyle" title="Permanent link">&para;</a></h2>
  1541. <p>AutoConnectStyle inserts the string given by the <strong>value</strong> into the style block of a custom Web page as it is raw.</p>
  1542. <div class="admonition warning">
  1543. <p class="admonition-title">The validity as CSS will not be checked</p>
  1544. <p>AutoConnectStyle does not do syntax checking and semantic analysis of value. Insert the specified string into the style block of the custom Web page without processing it.
  1545. Therefore, specifying the wrong CSS will modulate the behavior of the custom Web page.</p>
  1546. </div>
  1547. <h3 id="constructor_6"><i class="fa fa-code"></i> Constructor<a class="headerlink" href="#constructor_6" title="Permanent link">&para;</a></h3>
  1548. <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #f8f8f2">AutoConnectStyle(</span><span style="color: #66d9ef">const</span> <span style="color: #66d9ef">char</span><span style="color: #f92672">*</span> <span style="color: #f8f8f2">name,</span> <span style="color: #66d9ef">const</span> <span style="color: #66d9ef">char</span><span style="color: #f92672">*</span> <span style="color: #f8f8f2">value)</span>
  1549. </code></pre></div>
  1550. <h3 id="name_6"><i class="fa fa-caret-right"></i> name<a class="headerlink" href="#name_6" title="Permanent link">&para;</a></h3>
  1551. <p>It is the <code>name</code> of the AutoConnectStyle element and is useful only to access this element from the Sketch. It does not affect the generated HTML code.</p>
  1552. <h3 id="value_5"><i class="fa fa-caret-right"></i> value<a class="headerlink" href="#value_5" title="Permanent link">&para;</a></h3>
  1553. <p>The raw CSS code. It is not necessary to write <code>&lt;style&gt;</code> <code>&lt;/style&gt;</code> tags.</p>
  1554. <h2 id="autoconnectselect">AutoConnectSelect<a class="headerlink" href="#autoconnectselect" title="Permanent link">&para;</a></h2>
  1555. <p>AutoConnectSelect generates an HTML <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">select</span><span style="color: #f8f8f2">&gt;</span></code> tag (drop-down list) and few <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">option</span><span style="color: #f8f8f2">&gt;</span></code> tags.</p>
  1556. <p><i class="fa fa-eye"></i> <strong>Sample</strong><br>
  1557. <small><strong><code>AutoConnectSelect select("select", { String("Europe/London"), String("Europe/Berlin"), String("Europe/Helsinki"), String("Europe/Moscow"), String("Asia/Dubai") }, "Select TZ name");</code></strong></small></p>
  1558. <p><small>On the page:</small><br><img src="images/acselect.png"></p>
  1559. <h3 id="constructor_7"><i class="fa fa-edit"></i> Constructor<a class="headerlink" href="#constructor_7" title="Permanent link">&para;</a></h3>
  1560. <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #f8f8f2">AutoConnectSelect(</span><span style="color: #66d9ef">const</span> <span style="color: #66d9ef">char</span><span style="color: #f92672">*</span> <span style="color: #f8f8f2">name,</span> <span style="color: #f8f8f2">std</span><span style="color: #f92672">::</span><span style="color: #f8f8f2">vector</span><span style="color: #f92672">&lt;</span><span style="color: #f8f8f2">String</span><span style="color: #f92672">&gt;</span> <span style="color: #66d9ef">const</span><span style="color: #f92672">&amp;</span> <span style="color: #f8f8f2">options,</span> <span style="color: #66d9ef">const</span> <span style="color: #66d9ef">char</span><span style="color: #f92672">*</span> <span style="color: #f8f8f2">label,</span> <span style="color: #66d9ef">const</span> <span style="color: #66d9ef">uint8_t</span> <span style="color: #f8f8f2">selected,</span> <span style="color: #66d9ef">const</span> <span style="color: #f8f8f2">ACPosterior_t</span> <span style="color: #f8f8f2">post)</span>
  1561. </code></pre></div>
  1562. <h3 id="name_7"><i class="fa fa-caret-right"></i> name<a class="headerlink" href="#name_7" title="Permanent link">&para;</a></h3>
  1563. <p>It is the <code>name</code> of the AutoConnectSelect element and matches the name attribute of the select tags.</p>
  1564. <h3 id="options"><i class="fa fa-caret-right"></i> options<a class="headerlink" href="#options" title="Permanent link">&para;</a></h3>
  1565. <p>An <code>options</code> is an array of String type for the options which as actually <a href="https://en.cppreference.com/w/cpp/container/vector">std::vector</a> for an HTML <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">option</span><span style="color: #f8f8f2">&gt;</span></code> tag. It is an initialization list can be used. The option tags will be generated from each entry in the options, the amount of which is the same as the number of items in an <code>options</code>.</p>
  1566. <h3 id="label_4"><i class="fa fa-caret-right"></i> label<a class="headerlink" href="#label_4" title="Permanent link">&para;</a></h3>
  1567. <p>A <code>label</code> is an optional string. A label is always arranged on the left side of the drop-down list. Specification of a label will generate an HTML <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">label</span><span style="color: #f8f8f2">&gt;</span></code> tag with an id attribute. The select tag and the label are connected by the id attribute.</p>
  1568. <h3 id="selected"><i class="fa fa-caret-right"></i> selected<a class="headerlink" href="#selected" title="Permanent link">&para;</a></h3>
  1569. <p>A <code>selected</code> is an optional value. Specifies that an option should be pre-selected when the page loads.</p>
  1570. <h3 id="post_6"><i class="fa fa-caret-right"></i> post<a class="headerlink" href="#post_6" title="Permanent link">&para;</a></h3>
  1571. <p>Specifies a tag to add behind the HTML code generated from the element. The default values is <code>AC_Tag_BR</code>.</p>
  1572. <h2 id="autoconnectsubmit">AutoConnectSubmit<a class="headerlink" href="#autoconnectsubmit" title="Permanent link">&para;</a></h2>
  1573. <p>AutoConnectSubmit generates an HTML <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">input</span> <span style="color: #a6e22e">type</span><span style="color: #f92672">=</span><span style="color: #e6db74">&quot;button&quot;</span><span style="color: #f8f8f2">&gt;</span></code> tag attached <code class="highlight">onclick</code> attribute. The native code of the <code class="highlight">onclick</code> attribute is the submission of the form with the <strong>POST</strong> method.</p>
  1574. <p><i class="fa fa-eye"></i> <strong>Sample</strong><br>
  1575. <small><strong><code>AutoConnectSubmit submit("submit", "Save", "/mqtt_save");</code></strong></small></p>
  1576. <p><small>On the page:</small><br><img src="images/acsubmit.png"></p>
  1577. <h3 id="constructor_8"><i class="fa fa-edit"></i> Constructor<a class="headerlink" href="#constructor_8" title="Permanent link">&para;</a></h3>
  1578. <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #f8f8f2">AutoConnectSubmit(</span><span style="color: #66d9ef">const</span> <span style="color: #66d9ef">char</span><span style="color: #f92672">*</span> <span style="color: #f8f8f2">name,</span> <span style="color: #66d9ef">const</span> <span style="color: #66d9ef">char</span><span style="color: #f92672">*</span> <span style="color: #f8f8f2">value,</span> <span style="color: #66d9ef">const</span> <span style="color: #66d9ef">char</span><span style="color: #f92672">*</span> <span style="color: #f8f8f2">uri,</span> <span style="color: #66d9ef">const</span> <span style="color: #f8f8f2">ACPosterior_t</span> <span style="color: #f8f8f2">post)</span>
  1579. </code></pre></div>
  1580. <h3 id="name_8"><i class="fa fa-caret-right"></i> name<a class="headerlink" href="#name_8" title="Permanent link">&para;</a></h3>
  1581. <p>It is the <code>name</code> of the AutoConnectSubmit element and matches the name attribute of the input tag.</p>
  1582. <h3 id="value_6"><i class="fa fa-caret-right"></i> value<a class="headerlink" href="#value_6" title="Permanent link">&para;</a></h3>
  1583. <p>It becomes a string of the <code>value</code> attribute of an HTML <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">input</span> <span style="color: #a6e22e">type</span><span style="color: #f92672">=</span><span style="color: #e6db74">&quot;button&quot;</span><span style="color: #f8f8f2">&gt;</span></code> tag. The <code>value</code> will be displayed as a label of the button.</p>
  1584. <h3 id="uri"><i class="fa fa-caret-right"></i> uri<a class="headerlink" href="#uri" title="Permanent link">&para;</a></h3>
  1585. <p>A <code>uri</code> specifies the URI to send form data when the button declared by AutoConnectSubmit is clicked.</p>
  1586. <p>The query string of the form data sent with AutoConnectSubmit contains the URI of the page. Its parameter name is <code>_acuri</code>. In Sketch, you can know the called URI by referring to the <code>_acuri</code> parameter with the destination page handler. The actual query string is as follows:</p>
  1587. <p>_acuri=<strong>CALLER_URI</strong></p>
  1588. <h3 id="post_7"><i class="fa fa-caret-right"></i> post<a class="headerlink" href="#post_7" title="Permanent link">&para;</a></h3>
  1589. <p>Specifies a tag to add behind the HTML code generated from the element. The default values is <code>AC_Tag_None</code>.</p>
  1590. <h2 id="autoconnecttext">AutoConnectText<a class="headerlink" href="#autoconnecttext" title="Permanent link">&para;</a></h2>
  1591. <p>AutoConnectText generates an HTML <code class="highlight"><span style="color: #f8f8f2">&lt;</span><span style="color: #f92672">div</span><span style="color: #f8f8f2">&gt;</span></code> tag. A <code class="highlight">style</code> attribute will be attached if a <a href="#style">style</a> parameter is passed.</p>
  1592. <p><i class="fa fa-eye"></i> <strong>Sample</strong><br>
  1593. <small><strong><code>AutoConnectText text("text", "Publishing the WiFi signal strength to MQTT channel. RSSI value of ESP8266 to the channel created on ThingSpeak", "font-family:serif;color:#4682b4;");</code></strong></small></p>
  1594. <p><small>On the page:</small><br><img src="images/actext.png"></p>
  1595. <h3 id="constructor_9"><i class="fa fa-edit"></i> Constructor<a class="headerlink" href="#constructor_9" title="Permanent link">&para;</a></h3>
  1596. <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #f8f8f2">AutoConnectText(</span><span style="color: #66d9ef">const</span> <span style="color: #66d9ef">char</span><span style="color: #f92672">*</span> <span style="color: #f8f8f2">name,</span> <span style="color: #66d9ef">const</span> <span style="color: #66d9ef">char</span><span style="color: #f92672">*</span> <span style="color: #f8f8f2">value,</span> <span style="color: #66d9ef">const</span> <span style="color: #66d9ef">char</span><span style="color: #f92672">*</span> <span style="color: #f8f8f2">style,</span> <span style="color: #66d9ef">const</span> <span style="color: #66d9ef">char</span><span style="color: #f92672">*</span> <span style="color: #f8f8f2">format,</span> <span style="color: #66d9ef">const</span> <span style="color: #f8f8f2">ACPosterior_t</span> <span style="color: #f8f8f2">post)</span>
  1597. </code></pre></div>
  1598. <h3 id="name_9"><i class="fa fa-caret-right"></i> name<a class="headerlink" href="#name_9" title="Permanent link">&para;</a></h3>
  1599. <p>A <code>name</code> does not exist in the generated HTML. It provides only a means of accessing elements with the Sketches.</p>
  1600. <h3 id="value_7"><i class="fa fa-caret-right"></i> value<a class="headerlink" href="#value_7" title="Permanent link">&para;</a></h3>
  1601. <p>It becomes content and also can contain the native HTML code, but remember that your written code is enclosed by the div tag.</p>
  1602. <h3 id="style"><i class="fa fa-caret-right"></i> style<a class="headerlink" href="#style" title="Permanent link">&para;</a></h3>
  1603. <p>A <code>style</code> specifies the qualification style to give to the content and can use the style attribute format as it is.</p>
  1604. <h3 id="format"><i class="fa fa-caret-right"></i> format<a class="headerlink" href="#format" title="Permanent link">&para;</a></h3>
  1605. <p>A <code>format</code> is a pointer to a null-terminated multi byte string specifying how to interpret the value. It specifies the conversion format when outputting values. The format string conforms to C-style printf library functions, but depends on the Espressif's SDK implementation. The conversion specification is valid only in <strong>%s</strong> format. (Left and Right justification, width are also valid.)</p>
  1606. <h3 id="post_8"><i class="fa fa-caret-right"></i> post<a class="headerlink" href="#post_8" title="Permanent link">&para;</a></h3>
  1607. <p>Specifies a tag to add behind the HTML code generated from the element. The default values is <code>AC_Tag_None</code>.</p>
  1608. <h2 id="how-to-coding-for-the-elements">How to coding for the elements<a class="headerlink" href="#how-to-coding-for-the-elements" title="Permanent link">&para;</a></h2>
  1609. <h3 id="declaration-for-the-elements-in-sketches"><i class="fa fa-edit"></i> Declaration for the elements in Sketches<a class="headerlink" href="#declaration-for-the-elements-in-sketches" title="Permanent link">&para;</a></h3>
  1610. <p>Variables of each AutoConnetElement can be declared with macros. By using the macros, you can treat element name that is String type as variable in sketches.<sup id="fnref:2"><a class="footnote-ref" href="#fn:2">2</a></sup></p>
  1611. <p>ACElement ( <em>name</em> <small>[</small> , <em>value</em> <small>]</small> <small>[</small> , <small><strong>AC_Tag_None</strong></small> | <small><strong>AC_Tag_BR</strong></small> | <small><strong>AC_Tag_P</strong></small> <small>]</small> )</p>
  1612. <p>ACButton ( <em>name</em> <small>[</small> , <em>value</em> <small>]</small> <small>[</small> , <em>action</em> <small>]</small> <small>[</small> , <small><strong>AC_Tag_None</strong></small> | <small><strong>AC_Tag_BR</strong></small> | <small><strong>AC_Tag_P</strong></small> <small>]</small> )</p>
  1613. <p>ACCheckbox ( <em>name</em> <small>[</small> , <em>value</em> <small>]</small> <small>[</small> , <em>label</em> <small>]</small> <small>[</small> , <small><strong>true</strong></small> | <small><strong>false</strong></small> <small>]</small> <small>[</small> , <small><strong>AC_Infront</strong></small> | <small><strong>AC_Behind</strong></small> <small>]</small> <small>[</small> , <small><strong>AC_Tag_None</strong></small> | <small><strong>AC_Tag_BR</strong></small> | <small><strong>AC_Tag_P</strong></small> <small>]</small> )</p>
  1614. <p>ACFile ( <em>name</em> <small>[</small> , <em>value</em> <small>]</small> <small>[</small> , <em>label</em> <small>]</small> <small>[</small> , <small><strong>AC_File_FS</strong></small> | <small><strong>AC_File_SD</strong></small> | <small><strong>AC_File_Extern</strong></small> <small>]</small> <small>[</small> , <small><strong>AC_Tag_None</strong></small> | <small><strong>AC_Tag_BR</strong></small> | <small><strong>AC_Tag_P</strong></small> <small>]</small> )</p>
  1615. <p>ACInput ( <em>name</em> <small>[</small> , <em>value</em> <small>]</small> <small>[</small> , <em>label</em> <small>]</small> <small>[</small> , <em>pattern</em> <small>]</small> <small>[</small> , <em>placeholder</em> <small>]</small> <small>[</small> , <small><strong>AC_Tag_None</strong></small> | <small><strong>AC_Tag_BR</strong></small> | <small><strong>AC_Tag_P</strong></small> <small>]</small> <small>[</small> , <small><strong>AC_Input_Text</strong></small> | <small><strong>AC_Input_Password</strong></small> | <small><strong>AC_Input_Number</strong></small> <small>]</small>)</p>
  1616. <p>ACRadio ( <em>name</em> <small>[</small> , <em>values</em> <small>]</small> <small>[</small> , <em>label</em> <small>]</small> <small>[</small> , <small><strong>AC_Horizontal</small></strong> | <small><strong>AC_Vertical</strong></small> <small>]</small> <small>[</small> , <em>checked</em> <small>]</small> <small>[</small> , <small><strong>AC_Tag_None</strong></small> | <small><strong>AC_Tag_BR</strong></small> | <small><strong>AC_Tag_P</strong></small> <small>]</small> )</p>
  1617. <p>ACSelect ( <em>name</em> <small>[</small> , <em>options</em> <small>]</small> <small>[</small> , <em>label</em> <small>]</small> <small>[</small> , <small><strong>AC_Tag_None</strong></small> | <small><strong>AC_Tag_BR</strong></small> | <small><strong>AC_Tag_P</strong></small> <small>]</small> )</p>
  1618. <p>ACStyle ( <em>name</em> <small>[</small> , <em>value</em> <small>]</small> )</p>
  1619. <p>ACSubmit ( <em>name</em> <small>[</small> , <em>value</em> <small>]</small> <small>[</small> , <em>uri</em> <small>]</small> <small>[</small> , <small><strong>AC_Tag_None</strong></small> | <small><strong>AC_Tag_BR</strong></small> | <small><strong>AC_Tag_P</strong></small> <small>]</small> )</p>
  1620. <p>ACText ( <em>name</em> <small>[</small> , <em>value</em> <small>]</small> <small>[</small> , <em>style</em> <small>]</small> <small>[</small> , <em>format</em> <small>]</small> <small>[</small> , <small><strong>AC_Tag_None</strong></small> | <small><strong>AC_Tag_BR</strong></small> | <small><strong>AC_Tag_P</strong></small> <small>]</small> )</p>
  1621. <div class="admonition memo">
  1622. <p class="admonition-title">Declaration macro usage</p>
  1623. <p>For example, <em>AutoConnectText</em> can be declared using macros.
  1624. <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #f8f8f2">AutoConnectText</span> <span style="color: #f8f8f2">caption(</span><span style="color: #e6db74">&quot;caption&quot;</span><span style="color: #f8f8f2">,</span> <span style="color: #e6db74">&quot;hello, world&quot;</span><span style="color: #f8f8f2">,</span> <span style="color: #e6db74">&quot;color:blue;&quot;</span><span style="color: #f8f8f2">)</span>
  1625. </code></pre></div>
  1626. equals by using <em>ACText</em> macro.<br>
  1627. <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #f8f8f2">ACText(caption,</span> <span style="color: #e6db74">&quot;hello, world&quot;</span><span style="color: #f8f8f2">,</span> <span style="color: #e6db74">&quot;color:blue;&quot;</span><span style="color: #f8f8f2">)</span>
  1628. </code></pre></div></p>
  1629. </div>
  1630. <h3 id="variant-for-autoconnectelements"><i class="fa fa-edit"></i> Variant for AutoConnectElements<a class="headerlink" href="#variant-for-autoconnectelements" title="Permanent link">&para;</a></h3>
  1631. <p>Some AutoConnectAux APIs specify AutoConnectElements as an argument. There are also functions that return a pointer to AutoConnectElements. AutoConnectElement behaves as a variant type of each element class to make these interfaces a single. Use <a href="https://en.cppreference.com/w/cpp/language/reinterpret_cast">reinterpret_cast</a> to cast from a variant pointer to an Actual type pointer of AutoConnectElements.</p>
  1632. <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #f8f8f2">AutoConnectAux</span> <span style="color: #f8f8f2">aux;</span>
  1633. <span style="color: #f8f8f2">ACText(Text1,</span> <span style="color: #e6db74">&quot;hello, world&quot;</span><span style="color: #f8f8f2">);</span>
  1634. <span style="color: #f8f8f2">aux.add(Text1);</span>
  1635. <span style="color: #f8f8f2">AutoConnectText</span><span style="color: #f92672">*</span> <span style="color: #f8f8f2">text_p</span> <span style="color: #f92672">=</span> <span style="color: #66d9ef">reinterpret_cast</span><span style="color: #f92672">&lt;</span><span style="color: #f8f8f2">AutoConnectText</span><span style="color: #f92672">*&gt;</span><span style="color: #f8f8f2">(aux.getElement(</span><span style="color: #e6db74">&quot;Text1&quot;</span><span style="color: #f8f8f2">));</span>
  1636. <span style="color: #f8f8f2">AutoConnectText</span><span style="color: #f92672">&amp;</span> <span style="color: #f8f8f2">text</span> <span style="color: #f92672">=</span> <span style="color: #f8f8f2">aux.getElement</span><span style="color: #f92672">&lt;</span><span style="color: #f8f8f2">AutoConnectText</span><span style="color: #f92672">&gt;</span><span style="color: #f8f8f2">(</span><span style="color: #e6db74">&quot;Text1&quot;</span><span style="color: #f8f8f2">);</span>
  1637. </code></pre></div>
  1638. <div class="footnote">
  1639. <hr />
  1640. <ol>
  1641. <li id="fn:1">
  1642. <p>JavaScript can be inserted into a custom Web page using AutoConnectElement.&#160;<a class="footnote-backref" href="#fnref:1" title="Jump back to footnote 1 in the text">&#8617;</a></p>
  1643. </li>
  1644. <li id="fn:2">
  1645. <p>The square brackets in the syntax are optional parameters, the stroke is a selection parameter, the bold fonts are literal.&#160;<a class="footnote-backref" href="#fnref:2" title="Jump back to footnote 2 in the text">&#8617;</a></p>
  1646. </li>
  1647. </ol>
  1648. </div>
  1649. </article>
  1650. </div>
  1651. </div>
  1652. </main>
  1653. <footer class="md-footer">
  1654. <div class="md-footer-nav">
  1655. <nav class="md-footer-nav__inner md-grid" aria-label="Footer">
  1656. <a href="acintro.html" class="md-footer-nav__link md-footer-nav__link--prev" rel="prev">
  1657. <div class="md-footer-nav__button md-icon">
  1658. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12z"/></svg>
  1659. </div>
  1660. <div class="md-footer-nav__title">
  1661. <div class="md-ellipsis">
  1662. <span class="md-footer-nav__direction">
  1663. Previous
  1664. </span>
  1665. Custom Web pages with AutoConnect
  1666. </div>
  1667. </div>
  1668. </a>
  1669. <a href="acjson.html" class="md-footer-nav__link md-footer-nav__link--next" rel="next">
  1670. <div class="md-footer-nav__title">
  1671. <div class="md-ellipsis">
  1672. <span class="md-footer-nav__direction">
  1673. Next
  1674. </span>
  1675. Custom Web pages with JSON
  1676. </div>
  1677. </div>
  1678. <div class="md-footer-nav__button md-icon">
  1679. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4 11v2h12l-5.5 5.5 1.42 1.42L19.84 12l-7.92-7.92L10.5 5.5 16 11H4z"/></svg>
  1680. </div>
  1681. </a>
  1682. </nav>
  1683. </div>
  1684. <div class="md-footer-meta md-typeset">
  1685. <div class="md-footer-meta__inner md-grid">
  1686. <div class="md-footer-copyright">
  1687. <div class="md-footer-copyright__highlight">
  1688. Copyright &copy; 2018-2020 Hieromon Ikasamo
  1689. </div>
  1690. Made with
  1691. <a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
  1692. Material for MkDocs
  1693. </a>
  1694. </div>
  1695. <div class="md-footer-social">
  1696. <a href="https://github.com/Hieromon" target="_blank" rel="noopener" title="github.com" class="md-footer-social__link">
  1697. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"/></svg>
  1698. </a>
  1699. <a href="https://twitter.com/hieromon" target="_blank" rel="noopener" title="twitter.com" class="md-footer-social__link">
  1700. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"/></svg>
  1701. </a>
  1702. </div>
  1703. </div>
  1704. </div>
  1705. </footer>
  1706. </div>
  1707. <script src="assets/javascripts/vendor.fd16492e.min.js"></script>
  1708. <script src="assets/javascripts/bundle.7836ba4d.min.js"></script><script id="__lang" type="application/json">{"clipboard.copy": "Copy to clipboard", "clipboard.copied": "Copied to clipboard", "search.config.lang": "en", "search.config.pipeline": "trimmer, stopWordFilter", "search.config.separator": "[\\s\\-]+", "search.placeholder": "Search", "search.result.placeholder": "Type to start searching", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.term.missing": "Missing"}</script>
  1709. <script>
  1710. app = initialize({
  1711. base: ".",
  1712. features: [],
  1713. search: Object.assign({
  1714. worker: "assets/javascripts/worker/search.4ac00218.min.js"
  1715. }, typeof search !== "undefined" && search)
  1716. })
  1717. </script>
  1718. <script src="js/gifffer.min.js"></script>
  1719. </body>
  1720. </html>