12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836 |
- <!doctype html>
- <html lang="en" class="no-js">
- <head>
-
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width,initial-scale=1">
-
- <meta name="description" content="ESP8266/ESP32 WLAN configuration at run time with web interface">
-
-
-
- <link rel="canonical" href="https://Hieromon.github.io/AutoConnect/apielements.html">
-
-
- <meta name="author" content="Hieromon Ikasamo">
-
- <link rel="shortcut icon" href="assets/images/favicon.png">
- <meta name="generator" content="mkdocs-1.1.2, mkdocs-material-6.1.6">
-
-
-
- <title>AutoConnectElements API - AutoConnect for ESP8266/ESP32</title>
-
-
-
- <link rel="stylesheet" href="assets/stylesheets/main.6910b76c.min.css">
-
-
- <link rel="stylesheet" href="assets/stylesheets/palette.196e0c26.min.css">
-
-
-
- <meta name="theme-color" content="#4051b5">
-
-
-
-
-
-
-
- <link href="https://fonts.gstatic.com" rel="preconnect" crossorigin>
- <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,400i,700%7CRoboto+Mono&display=fallback">
- <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>
-
-
-
-
- <link rel="stylesheet" href="css/paragraph.css">
-
- <link rel="stylesheet" href="css/extra.css">
-
- <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css">
-
-
-
-
- <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>
- <script async src="https://www.google-analytics.com/analytics.js"></script>
-
-
-
- </head>
-
-
-
-
-
-
-
- <body dir="ltr" data-md-color-scheme="" data-md-color-primary="indigo" data-md-color-accent="indigo">
-
-
- <input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off">
- <input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off">
- <label class="md-overlay" for="__drawer"></label>
- <div data-md-component="skip">
-
-
- <a href="#autoconnectbutton" class="md-skip">
- Skip to content
- </a>
-
- </div>
- <div data-md-component="announce">
-
- </div>
-
-
- <header class="md-header" data-md-component="header">
- <nav class="md-header-nav md-grid" aria-label="Header">
- <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">
-
- <img src="images/arduino-logo.svg" alt="logo">
- </a>
- <label class="md-header-nav__button md-icon" for="__drawer">
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h18v2H3V6m0 5h18v2H3v-2m0 5h18v2H3v-2z"/></svg>
- </label>
- <div class="md-header-nav__title" data-md-component="header-title">
-
- <div class="md-header-nav__ellipsis">
- <span class="md-header-nav__topic md-ellipsis">
- AutoConnect for ESP8266/ESP32
- </span>
- <span class="md-header-nav__topic md-ellipsis">
-
- AutoConnectElements API
-
- </span>
- </div>
-
- </div>
-
- <label class="md-header-nav__button md-icon" for="__search">
- <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>
- </label>
-
- <div class="md-search" data-md-component="search" role="dialog">
- <label class="md-search__overlay" for="__search"></label>
- <div class="md-search__inner" role="search">
- <form class="md-search__form" name="search">
- <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>
- <label class="md-search__icon md-icon" for="__search">
- <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>
- <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>
- </label>
- <button type="reset" class="md-search__icon md-icon" aria-label="Clear" data-md-component="search-reset" tabindex="-1">
- <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>
- </button>
- </form>
- <div class="md-search__output">
- <div class="md-search__scrollwrap" data-md-scrollfix>
- <div class="md-search-result" data-md-component="search-result">
- <div class="md-search-result__meta">
- Initializing search
- </div>
- <ol class="md-search-result__list"></ol>
- </div>
- </div>
- </div>
- </div>
- </div>
-
-
- <div class="md-header-nav__source">
-
- <a href="https://github.com/Hieromon/AutoConnect" title="Go to repository" class="md-source">
- <div class="md-source__icon md-icon">
-
- <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>
- </div>
- <div class="md-source__repository">
- Hieromon/AutoConnect
- </div>
- </a>
- </div>
-
- </nav>
- </header>
-
- <div class="md-container" data-md-component="container">
-
-
-
-
- <main class="md-main" data-md-component="main">
- <div class="md-main__inner md-grid">
-
-
- <div class="md-sidebar md-sidebar--primary" data-md-component="navigation">
- <div class="md-sidebar__scrollwrap">
- <div class="md-sidebar__inner">
-
- <nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
- <label class="md-nav__title" for="__drawer">
- <a href="https://Hieromon.github.io/AutoConnect/" title="AutoConnect for ESP8266/ESP32" class="md-nav__button md-logo" aria-label="AutoConnect for ESP8266/ESP32">
-
- <img src="images/arduino-logo.svg" alt="logo">
- </a>
- AutoConnect for ESP8266/ESP32
- </label>
-
- <div class="md-nav__source">
-
- <a href="https://github.com/Hieromon/AutoConnect" title="Go to repository" class="md-source">
- <div class="md-source__icon md-icon">
-
- <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>
- </div>
- <div class="md-source__repository">
- Hieromon/AutoConnect
- </div>
- </a>
- </div>
-
- <ul class="md-nav__list" data-md-scrollfix>
-
-
-
-
- <li class="md-nav__item">
- <a href="index.html" class="md-nav__link">
- Overview
- </a>
- </li>
-
-
-
-
- <li class="md-nav__item">
- <a href="gettingstarted.html" class="md-nav__link">
- Getting started
- </a>
- </li>
-
-
-
-
- <li class="md-nav__item">
- <a href="menu.html" class="md-nav__link">
- AutoConnect menu
- </a>
- </li>
-
-
-
-
- <li class="md-nav__item">
- <a href="basicusage.html" class="md-nav__link">
- Basic usage
- </a>
- </li>
-
-
-
-
- <li class="md-nav__item md-nav__item--nested">
-
- <input class="md-nav__toggle md-toggle" data-md-toggle="nav-5" type="checkbox" id="nav-5" >
- <label class="md-nav__link" for="nav-5">
- Advanced usage
- <span class="md-nav__icon md-icon"></span>
- </label>
- <nav class="md-nav" aria-label="Advanced usage" data-md-level="1">
- <label class="md-nav__title" for="nav-5">
- <span class="md-nav__icon md-icon"></span>
- Advanced usage
- </label>
- <ul class="md-nav__list" data-md-scrollfix>
-
-
-
-
-
- <li class="md-nav__item">
- <a href="advancedusage.html" class="md-nav__link">
- Advanced usage
- </a>
- </li>
-
-
-
-
- <li class="md-nav__item">
- <a href="adconnection.html" class="md-nav__link">
- AutoConnect WiFi connection control
- </a>
- </li>
-
-
-
-
- <li class="md-nav__item">
- <a href="adcpcontrol.html" class="md-nav__link">
- Captive portal control
- </a>
- </li>
-
-
-
-
- <li class="md-nav__item">
- <a href="adnetwork.html" class="md-nav__link">
- Settings and controls for network and WiFi
- </a>
- </li>
-
-
-
-
- <li class="md-nav__item">
- <a href="adauthentication.html" class="md-nav__link">
- Authentication settings
- </a>
- </li>
-
-
-
-
- <li class="md-nav__item">
- <a href="adcredential.html" class="md-nav__link">
- Credential accesses
- </a>
- </li>
-
-
-
-
- <li class="md-nav__item">
- <a href="adexterior.html" class="md-nav__link">
- Customizing page appearance
- </a>
- </li>
-
-
-
-
- <li class="md-nav__item">
- <a href="adothers.html" class="md-nav__link">
- Other operation settings and controls
- </a>
- </li>
-
- </ul>
- </nav>
- </li>
-
-
-
-
- <li class="md-nav__item md-nav__item--nested">
-
- <input class="md-nav__toggle md-toggle" data-md-toggle="nav-6" type="checkbox" id="nav-6" >
- <label class="md-nav__link" for="nav-6">
- Custom Web pages
- <span class="md-nav__icon md-icon"></span>
- </label>
- <nav class="md-nav" aria-label="Custom Web pages" data-md-level="1">
- <label class="md-nav__title" for="nav-6">
- <span class="md-nav__icon md-icon"></span>
- Custom Web pages
- </label>
- <ul class="md-nav__list" data-md-scrollfix>
-
-
-
-
-
- <li class="md-nav__item">
- <a href="acintro.html" class="md-nav__link">
- Custom Web pages with AutoConnect
- </a>
- </li>
-
-
-
-
- <li class="md-nav__item">
- <a href="acelements.html" class="md-nav__link">
- AutoConnectElements
- </a>
- </li>
-
-
-
-
- <li class="md-nav__item">
- <a href="acjson.html" class="md-nav__link">
- Custom Web pages with JSON
- </a>
- </li>
-
-
-
-
- <li class="md-nav__item">
- <a href="achandling.html" class="md-nav__link">
- Handling the custom Web pages
- </a>
- </li>
-
- </ul>
- </nav>
- </li>
-
-
-
-
- <li class="md-nav__item md-nav__item--nested">
-
- <input class="md-nav__toggle md-toggle" data-md-toggle="nav-7" type="checkbox" id="nav-7" >
- <label class="md-nav__link" for="nav-7">
- OTA Updates
- <span class="md-nav__icon md-icon"></span>
- </label>
- <nav class="md-nav" aria-label="OTA Updates" data-md-level="1">
- <label class="md-nav__title" for="nav-7">
- <span class="md-nav__icon md-icon"></span>
- OTA Updates
- </label>
- <ul class="md-nav__list" data-md-scrollfix>
-
-
-
-
-
- <li class="md-nav__item">
- <a href="otaupdate.html" class="md-nav__link">
- OTA Updates
- </a>
- </li>
-
-
-
-
- <li class="md-nav__item">
- <a href="otabrowser.html" class="md-nav__link">
- Using Web Browser
- </a>
- </li>
-
-
-
-
- <li class="md-nav__item">
- <a href="otaserver.html" class="md-nav__link">
- Using Update Server
- </a>
- </li>
-
- </ul>
- </nav>
- </li>
-
-
-
-
-
- <li class="md-nav__item md-nav__item--active md-nav__item--nested">
-
- <input class="md-nav__toggle md-toggle" data-md-toggle="nav-8" type="checkbox" id="nav-8" checked>
- <label class="md-nav__link" for="nav-8">
- Library APIs
- <span class="md-nav__icon md-icon"></span>
- </label>
- <nav class="md-nav" aria-label="Library APIs" data-md-level="1">
- <label class="md-nav__title" for="nav-8">
- <span class="md-nav__icon md-icon"></span>
- Library APIs
- </label>
- <ul class="md-nav__list" data-md-scrollfix>
-
-
-
-
-
- <li class="md-nav__item">
- <a href="api.html" class="md-nav__link">
- AutoConnect API
- </a>
- </li>
-
-
-
-
- <li class="md-nav__item">
- <a href="apiaux.html" class="md-nav__link">
- AutoConnectAux API
- </a>
- </li>
-
-
-
-
- <li class="md-nav__item">
- <a href="apiconfig.html" class="md-nav__link">
- AutoConnectConfig API
- </a>
- </li>
-
-
-
-
-
- <li class="md-nav__item md-nav__item--active">
-
- <input class="md-nav__toggle md-toggle" data-md-toggle="toc" type="checkbox" id="__toc">
-
-
- <label class="md-nav__link md-nav__link--active" for="__toc">
- AutoConnectElements API
- <span class="md-nav__icon md-icon"></span>
- </label>
-
- <a href="apielements.html" class="md-nav__link md-nav__link--active">
- AutoConnectElements API
- </a>
-
-
- <nav class="md-nav md-nav--secondary" aria-label="Table of contents">
-
-
-
- <label class="md-nav__title" for="__toc">
- <span class="md-nav__icon md-icon"></span>
- Table of contents
- </label>
- <ul class="md-nav__list" data-md-scrollfix>
-
- <li class="md-nav__item">
- <a href="#autoconnectbutton" class="md-nav__link">
- AutoConnectButton
- </a>
-
- <nav class="md-nav" aria-label="AutoConnectButton">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#constructor" class="md-nav__link">
- Constructor
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-variables" class="md-nav__link">
- Public member variables
- </a>
-
- <nav class="md-nav" aria-label=" Public member variables">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#action" class="md-nav__link">
- action
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#enable" class="md-nav__link">
- enable
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#global" class="md-nav__link">
- global
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#name" class="md-nav__link">
- name
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#post" class="md-nav__link">
- post
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#value" class="md-nav__link">
- value
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-functions" class="md-nav__link">
- Public member functions
- </a>
-
- <nav class="md-nav" aria-label=" Public member functions">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#typeof" class="md-nav__link">
- typeOf
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#autoconnectcheckbox" class="md-nav__link">
- AutoConnectCheckbox
- </a>
-
- <nav class="md-nav" aria-label="AutoConnectCheckbox">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#constructor_1" class="md-nav__link">
- Constructor
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-variables_1" class="md-nav__link">
- Public member variables
- </a>
-
- <nav class="md-nav" aria-label=" Public member variables">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#checked" class="md-nav__link">
- checked
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#enable_1" class="md-nav__link">
- enable
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#global_1" class="md-nav__link">
- global
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#label" class="md-nav__link">
- label
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#labelposition" class="md-nav__link">
- labelPosition
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#name_1" class="md-nav__link">
- name
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#post_1" class="md-nav__link">
- post
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#value_1" class="md-nav__link">
- value
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-functions_1" class="md-nav__link">
- Public member functions
- </a>
-
- <nav class="md-nav" aria-label=" Public member functions">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#typeof_1" class="md-nav__link">
- typeOf
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#autoconnectelement" class="md-nav__link">
- AutoConnectElement
- </a>
-
- <nav class="md-nav" aria-label="AutoConnectElement">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#constructor_2" class="md-nav__link">
- Constructor
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-variables_2" class="md-nav__link">
- Public member variables
- </a>
-
- <nav class="md-nav" aria-label=" Public member variables">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#enable_2" class="md-nav__link">
- enable
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#global_2" class="md-nav__link">
- global
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#name_2" class="md-nav__link">
- name
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#post_2" class="md-nav__link">
- post
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#value_2" class="md-nav__link">
- value
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-functions_2" class="md-nav__link">
- Public member functions
- </a>
-
- <nav class="md-nav" aria-label=" Public member functions">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#typeof_2" class="md-nav__link">
- typeOf
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#ast" class="md-nav__link">
- as<T>
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#autoconnectfile" class="md-nav__link">
- AutoConnectFile
- </a>
-
- <nav class="md-nav" aria-label="AutoConnectFile">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#constructor_3" class="md-nav__link">
- Constructor
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-variables_3" class="md-nav__link">
- Public member variables
- </a>
-
- <nav class="md-nav" aria-label=" Public member variables">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#enable_3" class="md-nav__link">
- enable
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#global_3" class="md-nav__link">
- global
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#label_1" class="md-nav__link">
- label
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#mimetype" class="md-nav__link">
- mimeType
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#name_3" class="md-nav__link">
- name
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#post_3" class="md-nav__link">
- post
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#size" class="md-nav__link">
- size
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#store" class="md-nav__link">
- store
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#value_3" class="md-nav__link">
- value
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-functions_3" class="md-nav__link">
- Public member functions
- </a>
-
- <nav class="md-nav" aria-label=" Public member functions">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#typeof_3" class="md-nav__link">
- typeOf
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#autoconnectinput" class="md-nav__link">
- AutoConnectInput
- </a>
-
- <nav class="md-nav" aria-label="AutoConnectInput">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#constructor_4" class="md-nav__link">
- Constructor
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-variables_4" class="md-nav__link">
- Public member variables
- </a>
-
- <nav class="md-nav" aria-label=" Public member variables">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#enable_4" class="md-nav__link">
- enable
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#global_4" class="md-nav__link">
- global
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#label_2" class="md-nav__link">
- label
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#name_4" class="md-nav__link">
- name
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#pattern" class="md-nav__link">
- pattern
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#placeholder" class="md-nav__link">
- placeholder
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#post_4" class="md-nav__link">
- post
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#value_4" class="md-nav__link">
- value
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#apply" class="md-nav__link">
- apply
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-functions_4" class="md-nav__link">
- Public member functions
- </a>
-
- <nav class="md-nav" aria-label=" Public member functions">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#isvalid" class="md-nav__link">
- isValid
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#typeof_4" class="md-nav__link">
- typeOf
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#autoconnectradio" class="md-nav__link">
- AutoConnectRadio
- </a>
-
- <nav class="md-nav" aria-label="AutoConnectRadio">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#constructor_5" class="md-nav__link">
- Constructor
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-variables_5" class="md-nav__link">
- Public member variables
- </a>
-
- <nav class="md-nav" aria-label=" Public member variables">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#checked_1" class="md-nav__link">
- checked
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#enable_5" class="md-nav__link">
- enable
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#global_5" class="md-nav__link">
- global
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#label_3" class="md-nav__link">
- label
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#name_5" class="md-nav__link">
- name
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#order" class="md-nav__link">
- order
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#post_5" class="md-nav__link">
- post
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#values" class="md-nav__link">
- values
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-functions_5" class="md-nav__link">
- Public member functions
- </a>
-
- <nav class="md-nav" aria-label=" Public member functions">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#add" class="md-nav__link">
- add
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#check" class="md-nav__link">
- check
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#empty" class="md-nav__link">
- empty
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#operator" class="md-nav__link">
- operator [ ]
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#size_1" class="md-nav__link">
- size
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#typeof_5" class="md-nav__link">
- typeOf
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#value_5" class="md-nav__link">
- value
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#autoconnectselect" class="md-nav__link">
- AutoConnectSelect
- </a>
-
- <nav class="md-nav" aria-label="AutoConnectSelect">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#constructor_6" class="md-nav__link">
- Constructor
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-variables_6" class="md-nav__link">
- Public member variables
- </a>
-
- <nav class="md-nav" aria-label=" Public member variables">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#enable_6" class="md-nav__link">
- enable
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#global_6" class="md-nav__link">
- global
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#name_6" class="md-nav__link">
- name
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#label_4" class="md-nav__link">
- label
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#options" class="md-nav__link">
- options
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#post_6" class="md-nav__link">
- post
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#selected" class="md-nav__link">
- selected
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-functions_6" class="md-nav__link">
- Public member functions
- </a>
-
- <nav class="md-nav" aria-label=" Public member functions">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#add_1" class="md-nav__link">
- add
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#empty_1" class="md-nav__link">
- empty
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#operator_1" class="md-nav__link">
- operator [ ]
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#select" class="md-nav__link">
- select
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#size_2" class="md-nav__link">
- size
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#typeof_6" class="md-nav__link">
- typeOf
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#value_6" class="md-nav__link">
- value
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#autoconnectstyle" class="md-nav__link">
- AutoConnectStyle
- </a>
-
- <nav class="md-nav" aria-label="AutoConnectStyle">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#constructor_7" class="md-nav__link">
- Constructor
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-variables_7" class="md-nav__link">
- Public member variables
- </a>
-
- <nav class="md-nav" aria-label=" Public member variables">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#enable_7" class="md-nav__link">
- enable
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#name_7" class="md-nav__link">
- name
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#value_7" class="md-nav__link">
- value
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-functions_7" class="md-nav__link">
- Public member functions
- </a>
-
- <nav class="md-nav" aria-label=" Public member functions">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#typeof_7" class="md-nav__link">
- typeOf
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#autoconnectsubmit" class="md-nav__link">
- AutoConnectSubmit
- </a>
-
- <nav class="md-nav" aria-label="AutoConnectSubmit">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#constructor_8" class="md-nav__link">
- Constructor
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-variables_8" class="md-nav__link">
- Public member variables
- </a>
-
- <nav class="md-nav" aria-label=" Public member variables">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#enable_8" class="md-nav__link">
- enable
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#global_7" class="md-nav__link">
- global
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#name_8" class="md-nav__link">
- name
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#post_7" class="md-nav__link">
- post
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#uri" class="md-nav__link">
- uri
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#value_8" class="md-nav__link">
- value
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-functions_8" class="md-nav__link">
- Public member functions
- </a>
-
- <nav class="md-nav" aria-label=" Public member functions">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#typeof_8" class="md-nav__link">
- typeOf
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#autoconnecttext" class="md-nav__link">
- AutoConnectText
- </a>
-
- <nav class="md-nav" aria-label="AutoConnectText">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#constructor_9" class="md-nav__link">
- Constructor
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-variables_9" class="md-nav__link">
- Public member variables
- </a>
-
- <nav class="md-nav" aria-label=" Public member variables">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#enable_9" class="md-nav__link">
- enable
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#format" class="md-nav__link">
- format
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#global_8" class="md-nav__link">
- global
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#name_9" class="md-nav__link">
- name
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#post_8" class="md-nav__link">
- post
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#style" class="md-nav__link">
- style
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#value_9" class="md-nav__link">
- value
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-functions_9" class="md-nav__link">
- Public member functions
- </a>
-
- <nav class="md-nav" aria-label=" Public member functions">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#typeof_9" class="md-nav__link">
- typeOf
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- </ul>
-
- </nav>
-
- </li>
-
-
-
-
- <li class="md-nav__item">
- <a href="apiupdate.html" class="md-nav__link">
- AutoConnectUpdate API
- </a>
- </li>
-
-
-
-
- <li class="md-nav__item">
- <a href="apiextra.html" class="md-nav__link">
- Something extra
- </a>
- </li>
-
- </ul>
- </nav>
- </li>
-
-
-
-
- <li class="md-nav__item md-nav__item--nested">
-
- <input class="md-nav__toggle md-toggle" data-md-toggle="nav-9" type="checkbox" id="nav-9" >
- <label class="md-nav__link" for="nav-9">
- Examples
- <span class="md-nav__icon md-icon"></span>
- </label>
- <nav class="md-nav" aria-label="Examples" data-md-level="1">
- <label class="md-nav__title" for="nav-9">
- <span class="md-nav__icon md-icon"></span>
- Examples
- </label>
- <ul class="md-nav__list" data-md-scrollfix>
-
-
-
-
-
- <li class="md-nav__item">
- <a href="howtoembed.html" class="md-nav__link">
- How to embed
- </a>
- </li>
-
-
-
-
- <li class="md-nav__item">
- <a href="datatips.html" class="md-nav__link">
- Tips for data conversion
- </a>
- </li>
-
-
-
-
- <li class="md-nav__item">
- <a href="menuize.html" class="md-nav__link">
- Attach the menus
- </a>
- </li>
-
-
-
-
- <li class="md-nav__item">
- <a href="wojson.html" class="md-nav__link">
- Custom Web pages w/o JSON
- </a>
- </li>
-
- </ul>
- </nav>
- </li>
-
-
-
-
- <li class="md-nav__item md-nav__item--nested">
-
- <input class="md-nav__toggle md-toggle" data-md-toggle="nav-10" type="checkbox" id="nav-10" >
- <label class="md-nav__link" for="nav-10">
- Appendix
- <span class="md-nav__icon md-icon"></span>
- </label>
- <nav class="md-nav" aria-label="Appendix" data-md-level="1">
- <label class="md-nav__title" for="nav-10">
- <span class="md-nav__icon md-icon"></span>
- Appendix
- </label>
- <ul class="md-nav__list" data-md-scrollfix>
-
-
-
-
-
- <li class="md-nav__item">
- <a href="lsbegin.html" class="md-nav__link">
- Inside AutoConnect::begin
- </a>
- </li>
-
-
-
-
- <li class="md-nav__item">
- <a href="credit.html" class="md-nav__link">
- Saved credentials access
- </a>
- </li>
-
-
-
-
- <li class="md-nav__item">
- <a href="acupload.html" class="md-nav__link">
- File upload handler
- </a>
- </li>
-
-
-
-
- <li class="md-nav__item">
- <a href="colorized.html" class="md-nav__link">
- Custom colorized
- </a>
- </li>
-
-
-
-
- <li class="md-nav__item">
- <a href="changelabel.html" class="md-nav__link">
- Change label text
- </a>
- </li>
-
- </ul>
- </nav>
- </li>
-
-
-
-
- <li class="md-nav__item">
- <a href="faq.html" class="md-nav__link">
- FAQ
- </a>
- </li>
-
-
-
-
- <li class="md-nav__item">
- <a href="changelog.html" class="md-nav__link">
- Change log
- </a>
- </li>
-
-
-
-
- <li class="md-nav__item">
- <a href="license.html" class="md-nav__link">
- License
- </a>
- </li>
-
- </ul>
- </nav>
- </div>
- </div>
- </div>
-
-
- <div class="md-sidebar md-sidebar--secondary" data-md-component="toc">
- <div class="md-sidebar__scrollwrap">
- <div class="md-sidebar__inner">
-
- <nav class="md-nav md-nav--secondary" aria-label="Table of contents">
-
-
-
- <label class="md-nav__title" for="__toc">
- <span class="md-nav__icon md-icon"></span>
- Table of contents
- </label>
- <ul class="md-nav__list" data-md-scrollfix>
-
- <li class="md-nav__item">
- <a href="#autoconnectbutton" class="md-nav__link">
- AutoConnectButton
- </a>
-
- <nav class="md-nav" aria-label="AutoConnectButton">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#constructor" class="md-nav__link">
- Constructor
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-variables" class="md-nav__link">
- Public member variables
- </a>
-
- <nav class="md-nav" aria-label=" Public member variables">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#action" class="md-nav__link">
- action
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#enable" class="md-nav__link">
- enable
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#global" class="md-nav__link">
- global
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#name" class="md-nav__link">
- name
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#post" class="md-nav__link">
- post
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#value" class="md-nav__link">
- value
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-functions" class="md-nav__link">
- Public member functions
- </a>
-
- <nav class="md-nav" aria-label=" Public member functions">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#typeof" class="md-nav__link">
- typeOf
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#autoconnectcheckbox" class="md-nav__link">
- AutoConnectCheckbox
- </a>
-
- <nav class="md-nav" aria-label="AutoConnectCheckbox">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#constructor_1" class="md-nav__link">
- Constructor
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-variables_1" class="md-nav__link">
- Public member variables
- </a>
-
- <nav class="md-nav" aria-label=" Public member variables">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#checked" class="md-nav__link">
- checked
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#enable_1" class="md-nav__link">
- enable
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#global_1" class="md-nav__link">
- global
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#label" class="md-nav__link">
- label
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#labelposition" class="md-nav__link">
- labelPosition
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#name_1" class="md-nav__link">
- name
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#post_1" class="md-nav__link">
- post
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#value_1" class="md-nav__link">
- value
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-functions_1" class="md-nav__link">
- Public member functions
- </a>
-
- <nav class="md-nav" aria-label=" Public member functions">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#typeof_1" class="md-nav__link">
- typeOf
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#autoconnectelement" class="md-nav__link">
- AutoConnectElement
- </a>
-
- <nav class="md-nav" aria-label="AutoConnectElement">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#constructor_2" class="md-nav__link">
- Constructor
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-variables_2" class="md-nav__link">
- Public member variables
- </a>
-
- <nav class="md-nav" aria-label=" Public member variables">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#enable_2" class="md-nav__link">
- enable
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#global_2" class="md-nav__link">
- global
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#name_2" class="md-nav__link">
- name
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#post_2" class="md-nav__link">
- post
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#value_2" class="md-nav__link">
- value
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-functions_2" class="md-nav__link">
- Public member functions
- </a>
-
- <nav class="md-nav" aria-label=" Public member functions">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#typeof_2" class="md-nav__link">
- typeOf
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#ast" class="md-nav__link">
- as<T>
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#autoconnectfile" class="md-nav__link">
- AutoConnectFile
- </a>
-
- <nav class="md-nav" aria-label="AutoConnectFile">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#constructor_3" class="md-nav__link">
- Constructor
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-variables_3" class="md-nav__link">
- Public member variables
- </a>
-
- <nav class="md-nav" aria-label=" Public member variables">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#enable_3" class="md-nav__link">
- enable
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#global_3" class="md-nav__link">
- global
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#label_1" class="md-nav__link">
- label
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#mimetype" class="md-nav__link">
- mimeType
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#name_3" class="md-nav__link">
- name
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#post_3" class="md-nav__link">
- post
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#size" class="md-nav__link">
- size
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#store" class="md-nav__link">
- store
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#value_3" class="md-nav__link">
- value
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-functions_3" class="md-nav__link">
- Public member functions
- </a>
-
- <nav class="md-nav" aria-label=" Public member functions">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#typeof_3" class="md-nav__link">
- typeOf
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#autoconnectinput" class="md-nav__link">
- AutoConnectInput
- </a>
-
- <nav class="md-nav" aria-label="AutoConnectInput">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#constructor_4" class="md-nav__link">
- Constructor
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-variables_4" class="md-nav__link">
- Public member variables
- </a>
-
- <nav class="md-nav" aria-label=" Public member variables">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#enable_4" class="md-nav__link">
- enable
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#global_4" class="md-nav__link">
- global
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#label_2" class="md-nav__link">
- label
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#name_4" class="md-nav__link">
- name
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#pattern" class="md-nav__link">
- pattern
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#placeholder" class="md-nav__link">
- placeholder
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#post_4" class="md-nav__link">
- post
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#value_4" class="md-nav__link">
- value
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#apply" class="md-nav__link">
- apply
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-functions_4" class="md-nav__link">
- Public member functions
- </a>
-
- <nav class="md-nav" aria-label=" Public member functions">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#isvalid" class="md-nav__link">
- isValid
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#typeof_4" class="md-nav__link">
- typeOf
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#autoconnectradio" class="md-nav__link">
- AutoConnectRadio
- </a>
-
- <nav class="md-nav" aria-label="AutoConnectRadio">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#constructor_5" class="md-nav__link">
- Constructor
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-variables_5" class="md-nav__link">
- Public member variables
- </a>
-
- <nav class="md-nav" aria-label=" Public member variables">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#checked_1" class="md-nav__link">
- checked
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#enable_5" class="md-nav__link">
- enable
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#global_5" class="md-nav__link">
- global
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#label_3" class="md-nav__link">
- label
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#name_5" class="md-nav__link">
- name
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#order" class="md-nav__link">
- order
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#post_5" class="md-nav__link">
- post
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#values" class="md-nav__link">
- values
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-functions_5" class="md-nav__link">
- Public member functions
- </a>
-
- <nav class="md-nav" aria-label=" Public member functions">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#add" class="md-nav__link">
- add
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#check" class="md-nav__link">
- check
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#empty" class="md-nav__link">
- empty
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#operator" class="md-nav__link">
- operator [ ]
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#size_1" class="md-nav__link">
- size
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#typeof_5" class="md-nav__link">
- typeOf
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#value_5" class="md-nav__link">
- value
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#autoconnectselect" class="md-nav__link">
- AutoConnectSelect
- </a>
-
- <nav class="md-nav" aria-label="AutoConnectSelect">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#constructor_6" class="md-nav__link">
- Constructor
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-variables_6" class="md-nav__link">
- Public member variables
- </a>
-
- <nav class="md-nav" aria-label=" Public member variables">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#enable_6" class="md-nav__link">
- enable
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#global_6" class="md-nav__link">
- global
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#name_6" class="md-nav__link">
- name
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#label_4" class="md-nav__link">
- label
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#options" class="md-nav__link">
- options
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#post_6" class="md-nav__link">
- post
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#selected" class="md-nav__link">
- selected
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-functions_6" class="md-nav__link">
- Public member functions
- </a>
-
- <nav class="md-nav" aria-label=" Public member functions">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#add_1" class="md-nav__link">
- add
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#empty_1" class="md-nav__link">
- empty
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#operator_1" class="md-nav__link">
- operator [ ]
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#select" class="md-nav__link">
- select
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#size_2" class="md-nav__link">
- size
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#typeof_6" class="md-nav__link">
- typeOf
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#value_6" class="md-nav__link">
- value
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#autoconnectstyle" class="md-nav__link">
- AutoConnectStyle
- </a>
-
- <nav class="md-nav" aria-label="AutoConnectStyle">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#constructor_7" class="md-nav__link">
- Constructor
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-variables_7" class="md-nav__link">
- Public member variables
- </a>
-
- <nav class="md-nav" aria-label=" Public member variables">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#enable_7" class="md-nav__link">
- enable
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#name_7" class="md-nav__link">
- name
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#value_7" class="md-nav__link">
- value
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-functions_7" class="md-nav__link">
- Public member functions
- </a>
-
- <nav class="md-nav" aria-label=" Public member functions">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#typeof_7" class="md-nav__link">
- typeOf
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#autoconnectsubmit" class="md-nav__link">
- AutoConnectSubmit
- </a>
-
- <nav class="md-nav" aria-label="AutoConnectSubmit">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#constructor_8" class="md-nav__link">
- Constructor
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-variables_8" class="md-nav__link">
- Public member variables
- </a>
-
- <nav class="md-nav" aria-label=" Public member variables">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#enable_8" class="md-nav__link">
- enable
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#global_7" class="md-nav__link">
- global
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#name_8" class="md-nav__link">
- name
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#post_7" class="md-nav__link">
- post
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#uri" class="md-nav__link">
- uri
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#value_8" class="md-nav__link">
- value
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-functions_8" class="md-nav__link">
- Public member functions
- </a>
-
- <nav class="md-nav" aria-label=" Public member functions">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#typeof_8" class="md-nav__link">
- typeOf
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#autoconnecttext" class="md-nav__link">
- AutoConnectText
- </a>
-
- <nav class="md-nav" aria-label="AutoConnectText">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#constructor_9" class="md-nav__link">
- Constructor
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-variables_9" class="md-nav__link">
- Public member variables
- </a>
-
- <nav class="md-nav" aria-label=" Public member variables">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#enable_9" class="md-nav__link">
- enable
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#format" class="md-nav__link">
- format
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#global_8" class="md-nav__link">
- global
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#name_9" class="md-nav__link">
- name
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#post_8" class="md-nav__link">
- post
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#style" class="md-nav__link">
- style
- </a>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#value_9" class="md-nav__link">
- value
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- <li class="md-nav__item">
- <a href="#public-member-functions_9" class="md-nav__link">
- Public member functions
- </a>
-
- <nav class="md-nav" aria-label=" Public member functions">
- <ul class="md-nav__list">
-
- <li class="md-nav__item">
- <a href="#typeof_9" class="md-nav__link">
- typeOf
- </a>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- </ul>
- </nav>
-
- </li>
-
- </ul>
-
- </nav>
- </div>
- </div>
- </div>
-
-
- <div class="md-content">
- <article class="md-content__inner md-typeset">
-
-
-
- <h1>AutoConnectElements API</h1>
-
- <h2 id="autoconnectbutton">AutoConnectButton<a class="headerlink" href="#autoconnectbutton" title="Permanent link">¶</a></h2>
- <h3 id="constructor"><i class="fa fa-code"></i> Constructor<a class="headerlink" href="#constructor" title="Permanent link">¶</a></h3>
- <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: #f92672">=</span> <span style="color: #e6db74">""</span><span style="color: #f8f8f2">,</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: #f92672">=</span> <span style="color: #e6db74">""</span><span style="color: #f8f8f2">,</span> <span style="color: #66d9ef">const</span> <span style="color: #f8f8f2">String</span><span style="color: #f92672">&</span> <span style="color: #f8f8f2">action</span> <span style="color: #f92672">=</span> <span style="color: #f8f8f2">String(),</span> <span style="color: #66d9ef">const</span> <span style="color: #f8f8f2">ACPosterior_t</span> <span style="color: #f8f8f2">post</span> <span style="color: #f92672">=</span> <span style="color: #f8f8f2">AC_Tag_None)</span>
- </code></pre></div>
- <dl class="apidl">
- <dt><strong>Parameters</strong></dt>
- <dd><span class="apidef">name</span><span class="apidesc">The element name.</span></dd>
- <dd><span class="apidef">value</span><span class="apidesc">Value of the element.</span></dd>
- <dd><span class="apidef">action</span><span class="apidesc">Native code of the action script executed when the button is clicked.</span></dd>
- <dd><span class="apidef">post</span><span class="apidesc">Specifies the tag to be output afterward the element.</span></dd>
- </dl>
- <h3 id="public-member-variables"><i class="fa fa-code"></i> Public member variables<a class="headerlink" href="#public-member-variables" title="Permanent link">¶</a></h3>
- <h4 id="action"><i class="fa fa-caret-right"></i> action<a class="headerlink" href="#action" title="Permanent link">¶</a></h4>
- <p>HTML native code of the action script to be executed when the button is clicked. 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><dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
- <h4 id="enable"><i class="fa fa-caret-right"></i> enable<a class="headerlink" href="#enable" title="Permanent link">¶</a></h4>
- <p>Enable HTML tag generation for the element.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">bool</span><span class="apidesc">AutoConnect will generate the element into HTML only if the enable attribute is true.</span></dd></dl></p>
- <h4 id="global"><i class="fa fa-caret-right"></i> global<a class="headerlink" href="#global" title="Permanent link">¶</a></h4>
- <p>The global attribute copies input values between elements of the same name on different custom Web pages.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">bool</span><span class="apidesc">An entered value will be copied to elements of the same name in other AutoConnectAuxes during page transition.<br>However, it will be copied only when the destination element has the true for a global attribute.</span></dd></dl></p>
- <h4 id="name"><i class="fa fa-caret-right"></i> name<a class="headerlink" href="#name" title="Permanent link">¶</a></h4>
- <p>The element name.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
- <h4 id="post"><i class="fa fa-caret-right"></i> post<a class="headerlink" href="#post" title="Permanent link">¶</a></h4>
- <p>Specifies a tag to add behind the HTML code generated from the element.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">ACPosterior_t</span><span class="apidesc"></p>
- <ul>
- <li><strong><code>AC_Tag_None</code></strong> : No generate additional tags.</li>
- <li><strong><code>AC_Tag_BR</code></strong> : Add a <code><br></code> tag to the end of the element.</li>
- <li><strong><code>AC_Tag_P</code></strong> : Include the element in the <code><p> ~ </p></code> tag.
- </span></dd></dl></li>
- </ul>
- <h4 id="value"><i class="fa fa-caret-right"></i> value<a class="headerlink" href="#value" title="Permanent link">¶</a></h4>
- <p>Value of the element.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
- <h3 id="public-member-functions"><i class="fa fa-code"></i> Public member functions<a class="headerlink" href="#public-member-functions" title="Permanent link">¶</a></h3>
- <h4 id="typeof"><i class="fa fa-caret-right"></i> typeOf<a class="headerlink" href="#typeof" title="Permanent link">¶</a></h4>
- <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #f8f8f2">ACElement_t</span> <span style="color: #f8f8f2">typeOf(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
- </code></pre></div>
- <p>Returns type of AutoConnectElement.<dl class="apidl">
- <dt><strong>Return value</strong></dt>
- <dd>AC_Button</dd></dl></p>
- <h2 id="autoconnectcheckbox">AutoConnectCheckbox<a class="headerlink" href="#autoconnectcheckbox" title="Permanent link">¶</a></h2>
- <h3 id="constructor_1"><i class="fa fa-code"></i> Constructor<a class="headerlink" href="#constructor_1" title="Permanent link">¶</a></h3>
- <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: #f92672">=</span> <span style="color: #e6db74">""</span><span style="color: #f8f8f2">,</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: #f92672">=</span> <span style="color: #e6db74">""</span><span style="color: #f8f8f2">,</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: #f92672">=</span> <span style="color: #e6db74">""</span><span style="color: #f8f8f2">,</span> <span style="color: #66d9ef">const</span> <span style="color: #66d9ef">bool</span> <span style="color: #f8f8f2">checked</span> <span style="color: #f92672">=</span> <span style="color: #f8f8f2">false,</span> <span style="color: #66d9ef">const</span> <span style="color: #f8f8f2">ACPosition_t</span> <span style="color: #f8f8f2">labelPosition</span> <span style="color: #f92672">=</span> <span style="color: #f8f8f2">AC_Behind,</span> <span style="color: #66d9ef">const</span> <span style="color: #f8f8f2">ACPosterior_t</span> <span style="color: #f8f8f2">post</span> <span style="color: #f92672">=</span> <span style="color: #f8f8f2">AC_Tag_BR)</span>
- </code></pre></div>
- <dl class="apidl">
- <dt><strong>Parameters</strong></dt>
- <dd><span class="apidef">name</span><span class="apidesc">The element name.</span></dd>
- <dd><span class="apidef">value</span><span class="apidesc">Value of the element.</span></dd>
- <dd><span class="apidef">label</span><span class="apidesc">A label string prefixed to the checkbox.</span></dd>
- <dd><span class="apidef">check</span><span class="apidesc">Checked state of the checkbox.</span></dd>
- <dd><span class="apidef">labelPosition</span><span class="apidesc">Specifies the position of the label to generate.</span></dd>
- <dd><span class="apidef">post</span><span class="apidesc">Specifies the tag to be output afterward the element.</span></dd>
- </dl>
- <h3 id="public-member-variables_1"><i class="fa fa-code"></i> Public member variables<a class="headerlink" href="#public-member-variables_1" title="Permanent link">¶</a></h3>
- <h4 id="checked"><i class="fa fa-caret-right"></i> checked<a class="headerlink" href="#checked" title="Permanent link">¶</a></h4>
- <p>It indicates the checked status of the checkbox. The value of the checked checkbox element is packed in the query string and sent by submit.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">bool</span><span class="apidesc"></span></dl></p>
- <h4 id="enable_1"><i class="fa fa-caret-right"></i> enable<a class="headerlink" href="#enable_1" title="Permanent link">¶</a></h4>
- <p>Enable HTML tag generation for the element.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">bool</span><span class="apidesc">AutoConnect will generate the element into HTML only if the enable attribute is true.</span></dd></dl></p>
- <h4 id="global_1"><i class="fa fa-caret-right"></i> global<a class="headerlink" href="#global_1" title="Permanent link">¶</a></h4>
- <p>The global attribute copies input values between elements of the same name on different custom Web pages.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">bool</span><span class="apidesc">An entered value will be copied to elements of the same name in other AutoConnectAuxes during page transition.<br>However, it will be copied only when the destination element has the true for a global attribute.</span></dd></dl></p>
- <h4 id="label"><i class="fa fa-caret-right"></i> label<a class="headerlink" href="#label" title="Permanent link">¶</a></h4>
- <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 class="highlight"><span style="color: #f8f8f2"><</span><span style="color: #f92672">label</span><span style="color: #f8f8f2">></span></code> tag with an <code>id</code> attribute. The checkbox and the label are connected by the id attribute.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
- <h4 id="labelposition"><i class="fa fa-caret-right"></i> labelPosition<a class="headerlink" href="#labelposition" title="Permanent link">¶</a></h4>
- <p>Specifies the position of the label to generate with ACPostion_t enumeration value.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">ACPosition_t</span><span class="apidesc"></p>
- <ul>
- <li><strong><code>AC_Infront</code></strong> : Place a label in front of the check box.</li>
- <li><strong><code>AC_Behind</code></strong> : Place a label behind the check box.
- </span></dd></dl></li>
- </ul>
- <h4 id="name_1"><i class="fa fa-caret-right"></i> name<a class="headerlink" href="#name_1" title="Permanent link">¶</a></h4>
- <p>The element name.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
- <h4 id="post_1"><i class="fa fa-caret-right"></i> post<a class="headerlink" href="#post_1" title="Permanent link">¶</a></h4>
- <p>Specifies a tag to add behind the HTML code generated from the element.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">ACPosterior_t</span><span class="apidesc"></p>
- <ul>
- <li><strong><code>AC_Tag_None</code></strong> : No generate additional tags.</li>
- <li><strong><code>AC_Tag_BR</code></strong> : Add a <code><br></code> tag to the end of the element.</li>
- <li><strong><code>AC_Tag_P</code></strong> : Include the element in the <code><p> ~ </p></code> tag.
- </span></dd></dl></li>
- </ul>
- <h4 id="value_1"><i class="fa fa-caret-right"></i> value<a class="headerlink" href="#value_1" title="Permanent link">¶</a></h4>
- <p>Value of the element. It becomes a value attribute of an HTML <code class="highlight"><span style="color: #f8f8f2"><</span><span style="color: #f92672">input</span> <span style="color: #a6e22e">type</span><span style="color: #f92672">=</span><span style="color: #e6db74">"checkbox"</span><span style="color: #f8f8f2">></span></code> tag.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
- <h3 id="public-member-functions_1"><i class="fa fa-code"></i> Public member functions<a class="headerlink" href="#public-member-functions_1" title="Permanent link">¶</a></h3>
- <h4 id="typeof_1"><i class="fa fa-caret-right"></i> typeOf<a class="headerlink" href="#typeof_1" title="Permanent link">¶</a></h4>
- <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #f8f8f2">ACElement_t</span> <span style="color: #f8f8f2">typeOf(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
- </code></pre></div>
- <p>Returns type of AutoConnectElement.<dl class="apidl">
- <dt><strong>Return value</strong></dt>
- <dd>AC_Checkbox</dd></dl></p>
- <h2 id="autoconnectelement">AutoConnectElement<a class="headerlink" href="#autoconnectelement" title="Permanent link">¶</a></h2>
- <h3 id="constructor_2"><i class="fa fa-code"></i> Constructor<a class="headerlink" href="#constructor_2" title="Permanent link">¶</a></h3>
- <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: #f92672">=</span> <span style="color: #e6db74">""</span><span style="color: #f8f8f2">,</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: #f92672">=</span> <span style="color: #e6db74">""</span><span style="color: #f8f8f2">,</span> <span style="color: #66d9ef">const</span> <span style="color: #f8f8f2">ACPosterior_t</span> <span style="color: #f8f8f2">post</span> <span style="color: #f92672">=</span> <span style="color: #f8f8f2">AC_Tag_None)</span>
- </code></pre></div>
- <dl class="apidl">
- <dt><strong>Parameters</strong></dt>
- <dd><span class="apidef">name</span><span class="apidesc">The element name.</span></dd>
- <dd><span class="apidef">value</span><span class="apidesc">Value of the element.</span></dd>
- <dd><span class="apidef">post</span><span class="apidesc">Specifies the tag to be output afterward the element.</span></dd>
- </dl>
- <h3 id="public-member-variables_2"><i class="fa fa-code"></i> Public member variables<a class="headerlink" href="#public-member-variables_2" title="Permanent link">¶</a></h3>
- <h4 id="enable_2"><i class="fa fa-caret-right"></i> enable<a class="headerlink" href="#enable_2" title="Permanent link">¶</a></h4>
- <p>Enable HTML tag generation for the element.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">bool</span><span class="apidesc">AutoConnect will generate the element into HTML only if the enable attribute is true.</span></dd></dl></p>
- <h4 id="global_2"><i class="fa fa-caret-right"></i> global<a class="headerlink" href="#global_2" title="Permanent link">¶</a></h4>
- <p>The global attribute copies input values between elements of the same name on different custom Web pages.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">bool</span><span class="apidesc">An entered value will be copied to elements of the same name in other AutoConnectAuxes during page transition.<br>However, it will be copied only when the destination element has the true for a global attribute.</span></dd></dl></p>
- <h4 id="name_2"><i class="fa fa-caret-right"></i> name<a class="headerlink" href="#name_2" title="Permanent link">¶</a></h4>
- <p>The element name.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
- <h4 id="post_2"><i class="fa fa-caret-right"></i> post<a class="headerlink" href="#post_2" title="Permanent link">¶</a></h4>
- <p>Specifies a tag to add behind the HTML code generated from the element.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">ACPosterior_t</span><span class="apidesc"></p>
- <ul>
- <li><strong><code>AC_Tag_None</code></strong> : No generate additional tags.</li>
- <li><strong><code>AC_Tag_BR</code></strong> : Add a <code><br></code> tag to the end of the element.</li>
- <li><strong><code>AC_Tag_P</code></strong> : Include the element in the <code><p> ~ </p></code> tag.
- </span></dd></dl></li>
- </ul>
- <h4 id="value_2"><i class="fa fa-caret-right"></i> value<a class="headerlink" href="#value_2" title="Permanent link">¶</a></h4>
- <p>Value of the element. It is output as HTML as it is as a source for generating HTML code.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
- <h3 id="public-member-functions_2"><i class="fa fa-code"></i> Public member functions<a class="headerlink" href="#public-member-functions_2" title="Permanent link">¶</a></h3>
- <h4 id="typeof_2"><i class="fa fa-caret-right"></i> typeOf<a class="headerlink" href="#typeof_2" title="Permanent link">¶</a></h4>
- <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #f8f8f2">ACElement_t</span> <span style="color: #f8f8f2">typeOf(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
- </code></pre></div>
- <p>Returns type of AutoConnectElement.<dl class="apidl">
- <dt><strong>Return value</strong></dt>
- <dd>AC_Element</dd></dl></p>
- <h4 id="ast"><i class="fa fa-caret-right"></i> as<T><a class="headerlink" href="#ast" title="Permanent link">¶</a></h4>
- <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: #f92672">&</span> <span style="color: #f8f8f2">as</span><span style="color: #f92672"><</span><span style="color: #f8f8f2">T</span><span style="color: #f92672">></span><span style="color: #f8f8f2">(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
- </code></pre></div>
- <p>Casts the reference to the AutoConnectElement the specified type.<dl class="apidl">
- <dt><strong>Parameter</strong></dt>
- <dd><span class="apidef">T</span><span class="apidesc">The element type. AutoConnectElements type such as <a href="apielements.html#autoconnectbutton">AutoConnectButton</a>, <a href="apielements.html#autoconnectcheckbox">AutoConnectCheckbox</a>, <a href="apielements.html#autoconnectfile">AutoConnectFile</a>, <a href="apielements.html#autoconnectinput">AutoConnectInput</a>, <a href="apielements.html#autoconnectradio">AutoConnectRadio</a>, <a href="apielements.html#autoconnectselect">AutoConnectSelect</a>, <a href="apielements.html#autoconnectstyle">AutoConnectStyle</a>, <a href="apielements.html#autoconnectsubmit">AutoConnectSubmit</a>, <a href="apielements.html#autoconnecttext">AutoConnectText</a>.</span></dd>
- <dt><strong>Return value</strong></dt>
- <dd>A reference to the AutoConnectElement with actual type.</dd></dl></p>
- <h2 id="autoconnectfile">AutoConnectFile<a class="headerlink" href="#autoconnectfile" title="Permanent link">¶</a></h2>
- <h3 id="constructor_3"><i class="fa fa-code"></i> Constructor<a class="headerlink" href="#constructor_3" title="Permanent link">¶</a></h3>
- <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: #f92672">=</span> <span style="color: #e6db74">""</span><span style="color: #f8f8f2">,</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: #f92672">=</span> <span style="color: #e6db74">""</span><span style="color: #f8f8f2">,</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: #f92672">=</span> <span style="color: #e6db74">""</span><span style="color: #f8f8f2">,</span> <span style="color: #66d9ef">const</span> <span style="color: #f8f8f2">ACFile_t</span> <span style="color: #f8f8f2">store</span> <span style="color: #f92672">=</span> <span style="color: #f8f8f2">AC_File_FS,</span> <span style="color: #66d9ef">const</span> <span style="color: #f8f8f2">ACPosterior_t</span> <span style="color: #f8f8f2">post</span> <span style="color: #f92672">=</span> <span style="color: #f8f8f2">AC_Tag_BR)</span>
- </code></pre></div>
- <dl class="apidl">
- <dt><strong>Parameters</strong></dt>
- <dd><span class="apidef">name</span><span class="apidesc">The element name.</span></dd>
- <dd><span class="apidef">value</span><span class="apidesc">File name to be upload.</span></dd>
- <dd><span class="apidef">label</span><span class="apidesc">Label string.</span></dd>
- <dd><span class="apidef">store</span><span class="apidesc">The **ACFile_t** enumerator that represents the media to save the uploaded file.</span></dd>
- <dd><span class="apidef">post</span><span class="apidesc">Specifies the tag to be output afterward the element.</span></dd>
- </dl>
- <h3 id="public-member-variables_3"><i class="fa fa-code"></i> Public member variables<a class="headerlink" href="#public-member-variables_3" title="Permanent link">¶</a></h3>
- <h4 id="enable_3"><i class="fa fa-caret-right"></i> enable<a class="headerlink" href="#enable_3" title="Permanent link">¶</a></h4>
- <p>Enable HTML tag generation for the element.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">bool</span><span class="apidesc">AutoConnect will generate the element into HTML only if the enable attribute is true.</span></dd></dl></p>
- <h4 id="global_3"><i class="fa fa-caret-right"></i> global<a class="headerlink" href="#global_3" title="Permanent link">¶</a></h4>
- <p>The global attribute copies input values between elements of the same name on different custom Web pages.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">bool</span><span class="apidesc">An entered value will be copied to elements of the same name in other AutoConnectAuxes during page transition.<br>However, it will be copied only when the destination element has the true for a global attribute.</span></dd></dl></p>
- <h4 id="label_1"><i class="fa fa-caret-right"></i> label<a class="headerlink" href="#label_1" title="Permanent link">¶</a></h4>
- <p>A label is an optional string. A label is always arranged on the left side of the file input box. Specification of a label will generate an HTML <code class="highlight"><span style="color: #f8f8f2"><</span><span style="color: #f92672">label</span><span style="color: #f8f8f2">></span></code> tag with an id attribute. The file input box and the label are connected by the id attribute.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
- <h4 id="mimetype"><i class="fa fa-caret-right"></i> mimeType<a class="headerlink" href="#mimetype" title="Permanent link">¶</a></h4>
- <p>The mime type of the upload file which included as Media type in the http post request. Set by the client (usually the browser) that requested the upload. It is determined by the file type as <code>application/octet-stream</code>, <code>text</code> etc. which is described in <a href="https://www.iana.org/assignments/media-types/media-types.xhtml">IANA Media Type</a>.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
- <h4 id="name_3"><i class="fa fa-caret-right"></i> name<a class="headerlink" href="#name_3" title="Permanent link">¶</a></h4>
- <p>The element name.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
- <h4 id="post_3"><i class="fa fa-caret-right"></i> post<a class="headerlink" href="#post_3" title="Permanent link">¶</a></h4>
- <p>Specifies a tag to add behind the HTML code generated from the element.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">ACPosterior_t</span><span class="apidesc"></p>
- <ul>
- <li><strong><code>AC_Tag_None</code></strong> : No generate additional tags.</li>
- <li><strong><code>AC_Tag_BR</code></strong> : Add a <code><br></code> tag to the end of the element.</li>
- <li><strong><code>AC_Tag_P</code></strong> : Include the element in the <code><p> ~ </p></code> tag.
- </span></dd></dl></li>
- </ul>
- <h4 id="size"><i class="fa fa-caret-right"></i> size<a class="headerlink" href="#size" title="Permanent link">¶</a></h4>
- <p>Size of the uploading file.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">size_t</span><span class="apidesc"></span></dd></dl></p>
- <h4 id="store"><i class="fa fa-caret-right"></i> store<a class="headerlink" href="#store" title="Permanent link">¶</a></h4>
- <p>Specifies the save destination of the uploaded file. You can use the built-in uploader to save uploaded file to the flash of the ESP8266/ESP32 module or external SD media without writing a dedicated sketch code. It also supports saving to any destination using a custom uploader that inherits from the AutoConnectUploadHandler class.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">ACFile_t</span><span class="apidesc"></p>
- <ul>
- <li><strong><code>AC_File_FS</code></strong> : Save the uploaded file to SPIFFS in the flash.</li>
- <li><strong><code>AC_File_SD</code></strong> : Save the uploaded file to SD.</li>
- <li><strong><code>AC_File_Extern</code></strong> : Save the file using your own upload handler.
- </span></dd></dl></li>
- </ul>
- <h4 id="value_3"><i class="fa fa-caret-right"></i> value<a class="headerlink" href="#value_3" title="Permanent link">¶</a></h4>
- <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"><</span><span style="color: #f92672">input</span> <span style="color: #a6e22e">type</span><span style="color: #f92672">=</span><span style="color: #e6db74">"file"</span><span style="color: #f8f8f2">></span></code> tag and is read-only.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
- <h3 id="public-member-functions_3"><i class="fa fa-code"></i> Public member functions<a class="headerlink" href="#public-member-functions_3" title="Permanent link">¶</a></h3>
- <h4 id="typeof_3"><i class="fa fa-caret-right"></i> typeOf<a class="headerlink" href="#typeof_3" title="Permanent link">¶</a></h4>
- <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #f8f8f2">ACElement_t</span> <span style="color: #f8f8f2">typeOf(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
- </code></pre></div>
- <p>Returns type of AutoConnectFile.<dl class="apidl">
- <dt><strong>Return value</strong></dt>
- <dd>AC_File</dd>
- </dl></p>
- <h2 id="autoconnectinput">AutoConnectInput<a class="headerlink" href="#autoconnectinput" title="Permanent link">¶</a></h2>
- <h3 id="constructor_4"><i class="fa fa-code"></i> Constructor<a class="headerlink" href="#constructor_4" title="Permanent link">¶</a></h3>
- <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: #f92672">=</span> <span style="color: #e6db74">""</span><span style="color: #f8f8f2">,</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: #f92672">=</span> <span style="color: #e6db74">""</span><span style="color: #f8f8f2">,</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: #f92672">=</span> <span style="color: #e6db74">""</span><span style="color: #f8f8f2">,</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: #f92672">=</span> <span style="color: #e6db74">""</span><span style="color: #f8f8f2">,</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: #f92672">=</span> <span style="color: #e6db74">""</span><span style="color: #f8f8f2">,</span> <span style="color: #66d9ef">const</span> <span style="color: #f8f8f2">ACPosterior_t</span> <span style="color: #f8f8f2">post</span> <span style="color: #f92672">=</span> <span style="color: #f8f8f2">AC_Tag_BR,</span> <span style="color: #66d9ef">const</span> <span style="color: #f8f8f2">ACInput_t</span> <span style="color: #f8f8f2">apply</span> <span style="color: #f92672">=</span> <span style="color: #f8f8f2">AC_Input_Text)</span>
- </code></pre></div>
- <dl class="apidl">
- <dt><strong>Parameters</strong></dt>
- <dd><span class="apidef">name</span><span class="apidesc">The element name.</span></dd>
- <dd><span class="apidef">value</span><span class="apidesc">Value of the element.</span></dd>
- <dd><span class="apidef">label</span><span class="apidesc">Label string.</span></dd>
- <dd><span class="apidef">pattern</span><span class="apidesc">Regular expression string for checking data format.</span></dd>
- <dd><span class="apidef">placeholder</span><span class="apidesc">A placeholder string.</span></dd>
- <dd><span class="apidef">post</span><span class="apidesc">Specifies the tag to be output afterward the element.</span></dd>
- <dd><span class="apidef">apply</span><span class="apidesc">Specifies the type of input that the text box accepts.</span></dd>
- </dl>
- <h3 id="public-member-variables_4"><i class="fa fa-code"></i> Public member variables<a class="headerlink" href="#public-member-variables_4" title="Permanent link">¶</a></h3>
- <h4 id="enable_4"><i class="fa fa-caret-right"></i> enable<a class="headerlink" href="#enable_4" title="Permanent link">¶</a></h4>
- <p>Enable HTML tag generation for the element.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">bool</span><span class="apidesc">AutoConnect will generate the element into HTML only if the enable attribute is true.</span></dd></dl></p>
- <h4 id="global_4"><i class="fa fa-caret-right"></i> global<a class="headerlink" href="#global_4" title="Permanent link">¶</a></h4>
- <p>The global attribute copies input values between elements of the same name on different custom Web pages.</p>
- <dl class="apidl"> <dt>**Type**</dt>
- <dd><span class="apidef">bool</span><span class="apidesc">An entered value will be copied to elements of the same name in other AutoConnectAuxes during page transition.<br>However, it will be copied only when the destination element has the true for a global attribute.</span></dd></dl>
- <h4 id="label_2"><i class="fa fa-caret-right"></i> label<a class="headerlink" href="#label_2" title="Permanent link">¶</a></h4>
- <p>A label 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"><</span><span style="color: #f92672">label</span><span style="color: #f8f8f2">></span></code> tag with an id attribute. The input box and the label are connected by the id attribute.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
- <h4 id="name_4"><i class="fa fa-caret-right"></i> name<a class="headerlink" href="#name_4" title="Permanent link">¶</a></h4>
- <p>The element name.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
- <h4 id="pattern"><i class="fa fa-caret-right"></i> pattern<a class="headerlink" href="#pattern" title="Permanent link">¶</a></h4>
- <p>A pattern specifies a regular expression that the input-box's value is checked against on form submission.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
- <h4 id="placeholder"><i class="fa fa-caret-right"></i> placeholder<a class="headerlink" href="#placeholder" title="Permanent link">¶</a></h4>
- <p>A placeholder is an option string. Specification of a placeholder will generate a <code>placeholder</code> attribute for the input tag.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
- <h4 id="post_4"><i class="fa fa-caret-right"></i> post<a class="headerlink" href="#post_4" title="Permanent link">¶</a></h4>
- <p>Specifies a tag to add behind the HTML code generated from the element.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">ACPosterior_t</span><span class="apidesc"></p>
- <ul>
- <li><strong><code>AC_Tag_None</code></strong> : No generate additional tags.</li>
- <li><strong><code>AC_Tag_BR</code></strong> : Add a <code><br></code> tag to the end of the element.</li>
- <li><strong><code>AC_Tag_P</code></strong> : Include the element in the <code><p> ~ </p></code> tag.
- </span></dd></dl></li>
- </ul>
- <h4 id="value_4"><i class="fa fa-caret-right"></i> value<a class="headerlink" href="#value_4" title="Permanent link">¶</a></h4>
- <p>Value of the element. It becomes a value attribute of an HTML <code class="highlight"><span style="color: #f8f8f2"><</span><span style="color: #f92672">input</span> <span style="color: #a6e22e">type</span><span style="color: #f92672">=</span><span style="color: #e6db74">"text"</span><span style="color: #f8f8f2">></span></code> tag. An entered text in the custom Web page will be sent with a query string of the form. The value set before accessing the page is displayed as the initial value.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
- <h4 id="apply"><i class="fa fa-caret-right"></i> apply<a class="headerlink" href="#apply" title="Permanent link">¶</a></h4>
- <p>Specifies the type of input that the text box accepts. AutoConnectInput will generate either a <code class="highlight"><span style="color: #f8f8f2"><</span><span style="color: #f92672">input</span> <span style="color: #a6e22e">type</span><span style="color: #f92672">=</span><span style="color: #e6db74">"text"</span><span style="color: #f8f8f2">></span></code>, <code class="highlight"><span style="color: #f8f8f2"><</span><span style="color: #f92672">input</span> <span style="color: #a6e22e">type</span><span style="color: #f92672">=</span><span style="color: #e6db74">"password"</span><span style="color: #f8f8f2">></span></code>, or <code class="highlight"><span style="color: #f8f8f2"><</span><span style="color: #f92672">input</span> <span style="color: #a6e22e">type</span><span style="color: #f92672">=</span><span style="color: #e6db74">"number"</span><span style="color: #f8f8f2">></span></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. <sup id="fnref2:1"><a class="footnote-ref" href="#fn:1">1</a></sup><dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">ACInput_t</span><span class="apidesc"></p>
- <ul>
- <li><strong><code>AC_Input_Text</code></strong> : <code>input type="text"</code></li>
- <li><strong><code>AC_Input_Password</code></strong> : <code>input type="password"</code></li>
- <li><strong><code>AC_Input_Number</code></strong> : <code>input type="number"</code>
- </span></dd></dl></li>
- </ul>
- <h3 id="public-member-functions_4"><i class="fa fa-code"></i> Public member functions<a class="headerlink" href="#public-member-functions_4" title="Permanent link">¶</a></h3>
- <h4 id="isvalid"><i class="fa fa-caret-right"></i> isValid<a class="headerlink" href="#isvalid" title="Permanent link">¶</a></h4>
- <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #66d9ef">bool</span> <span style="color: #f8f8f2">isValid(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
- </code></pre></div>
- <p>Evaluate the pattern as a regexp and return whether value matches. Always return true if the pattern is undefined.<dl class="apidl">
- <dt><strong>Return value</strong></dt>
- <dd><span class="apidef">true</span><span class="apidesc">The value matches a pattern.</span></dd>
- <dd><span class="apidef">false</span><span class="apidesc">The value does not match a pattern.</span></dd></dl></p>
- <h4 id="typeof_4"><i class="fa fa-caret-right"></i> typeOf<a class="headerlink" href="#typeof_4" title="Permanent link">¶</a></h4>
- <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #f8f8f2">ACElement_t</span> <span style="color: #f8f8f2">typeOf(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
- </code></pre></div>
- <p>Returns type of AutoConnectElement.<dl class="apidl">
- <dt><strong>Return value</strong></dt>
- <dd>AC_Input</dd></dl></p>
- <h2 id="autoconnectradio">AutoConnectRadio<a class="headerlink" href="#autoconnectradio" title="Permanent link">¶</a></h2>
- <h3 id="constructor_5"><i class="fa fa-code"></i> Constructor<a class="headerlink" href="#constructor_5" title="Permanent link">¶</a></h3>
- <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: #f92672">=</span> <span style="color: #e6db74">""</span><span style="color: #f8f8f2">,</span> <span style="color: #f8f8f2">std</span><span style="color: #f92672">::</span><span style="color: #f8f8f2">vector</span><span style="color: #f92672"><</span><span style="color: #f8f8f2">String</span><span style="color: #f92672">></span> <span style="color: #66d9ef">const</span><span style="color: #f92672">&</span> <span style="color: #f8f8f2">values</span> <span style="color: #f92672">=</span> <span style="color: #f8f8f2">{},</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: #f92672">=</span> <span style="color: #e6db74">""</span><span style="color: #f8f8f2">,</span> <span style="color: #66d9ef">const</span> <span style="color: #f8f8f2">ACArrange_t</span> <span style="color: #f8f8f2">order</span> <span style="color: #f92672">=</span> <span style="color: #f8f8f2">AC_Vertical,</span> <span style="color: #66d9ef">const</span> <span style="color: #66d9ef">uint8_t</span> <span style="color: #f8f8f2">checked</span> <span style="color: #f92672">=</span> <span style="color: #ae81ff">0</span><span style="color: #f8f8f2">,</span> <span style="color: #66d9ef">const</span> <span style="color: #f8f8f2">ACPosterior_t</span> <span style="color: #f8f8f2">post</span> <span style="color: #f92672">=</span> <span style="color: #f8f8f2">AC_Tag_BR)</span>
- </code></pre></div>
- <dl class="apidl">
- <dt><strong>Parameters</strong></dt>
- <dd><span class="apidef">name</span><span class="apidesc">The element name.</span></dd>
- <dd><span class="apidef">values</span><span class="apidesc">An array of values of the radio buttons. Specifies a <a href="https://en.cppreference.com/w/cpp/container/vector">std::vector</a> object.</span></dd>
- <dd><span class="apidef">label</span><span class="apidesc">Label string.</span></dd>
- <dd><span class="apidef">order</span><span class="apidesc">The direction to arrange the radio buttons.</span></dd>
- <dd><span class="apidef">checked</span><span class="apidesc">An index to be checked in the radio buttons.</span></dd>
- <dd><span class="apidef">post</span><span class="apidesc">Specifies the tag to be output afterward the element.</span></dd>
- </dl>
- <h3 id="public-member-variables_5"><i class="fa fa-code"></i> Public member variables<a class="headerlink" href="#public-member-variables_5" title="Permanent link">¶</a></h3>
- <h4 id="checked_1"><i class="fa fa-caret-right"></i> checked<a class="headerlink" href="#checked_1" title="Permanent link">¶</a></h4>
- <p>Specifies the index number (1-based) of the <strong>values</strong> to be checked. If this parameter is not specified neither item is checked.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">uint8_t</span><span class="apidesc"></span></dd></dl></p>
- <h4 id="enable_5"><i class="fa fa-caret-right"></i> enable<a class="headerlink" href="#enable_5" title="Permanent link">¶</a></h4>
- <p>Enable HTML tag generation for the element.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">bool</span><span class="apidesc">AutoConnect will generate the element into HTML only if the enable attribute is true.</span></dd></dl></p>
- <h4 id="global_5"><i class="fa fa-caret-right"></i> global<a class="headerlink" href="#global_5" title="Permanent link">¶</a></h4>
- <p>The global attribute copies input values between elements of the same name on different custom Web pages.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">bool</span><span class="apidesc">An entered value will be copied to elements of the same name in other AutoConnectAuxes during page transition.<br>However, it will be copied only when the destination element has the true for a global attribute.</span></dd></dl></p>
- <h4 id="label_3"><i class="fa fa-caret-right"></i> label<a class="headerlink" href="#label_3" title="Permanent link">¶</a></h4>
- <p>A label is an optional string. A label will be arranged in the left or top of the radio buttons according to the <a href="#order">order</a>.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
- <h4 id="name_5"><i class="fa fa-caret-right"></i> name<a class="headerlink" href="#name_5" title="Permanent link">¶</a></h4>
- <p>The element name.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
- <h4 id="order"><i class="fa fa-caret-right"></i> order<a class="headerlink" href="#order" title="Permanent link">¶</a></h4>
- <p>Specifies the direction to arrange the radio buttons. A label will place in the left or the top according to the <strong><em>order</em></strong>. It is a value of <strong>ACArrange_t</strong> type and accepts one of the following:<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">ACArrange_t</span><span class="apidesc"></p>
- <ul>
- <li><strong><code>AC_Horizontal</code></strong> : Horizontal arrangement.</li>
- <li><strong><code>AC_Vertical</code></strong> : Vertical arrangement.
- </span></dd></dl></li>
- </ul>
- <h4 id="post_5"><i class="fa fa-caret-right"></i> post<a class="headerlink" href="#post_5" title="Permanent link">¶</a></h4>
- <p>Specifies a tag to add behind the HTML code generated from the element.</p>
- <dl class="apidl">
- <dt>**Type**</dt>
- <dd><span class="apidef">ACPosterior_t</span><span class="apidesc">
- - **`AC_Tag_None`** : No generate additional tags.
- - **`AC_Tag_BR`** : Add a `<br>` tag to the end of the element.
- - **`AC_Tag_P`** : Include the element in the `<p> ~ </p>` tag.
- </span></dd></dl>
- <h4 id="values"><i class="fa fa-caret-right"></i> values<a class="headerlink" href="#values" title="Permanent link">¶</a></h4>
- <p>An array of String type for the radio button options. It is an initialization list can be used. The <code class="highlight"><span style="color: #f8f8f2"><</span><span style="color: #f92672">input</span> <span style="color: #a6e22e">type</span><span style="color: #f92672">=</span><span style="color: #e6db74">"radio"</span><span style="color: #f8f8f2">></span></code> tags will be generated from each entry in the values.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">std::vector<String></span><span class="apidesc"></span></dd></dl></p>
- <h3 id="public-member-functions_5"><i class="fa fa-code"></i> Public member functions<a class="headerlink" href="#public-member-functions_5" title="Permanent link">¶</a></h3>
- <h4 id="add"><i class="fa fa-caret-right"></i> add<a class="headerlink" href="#add" title="Permanent link">¶</a></h4>
- <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #66d9ef">void</span> <span style="color: #f8f8f2">add(</span><span style="color: #66d9ef">const</span> <span style="color: #f8f8f2">String</span><span style="color: #f92672">&</span> <span style="color: #f8f8f2">value)</span>
- </code></pre></div>
- <p>Adds an option for the radio button.<dl class="apidl">
- <dt><strong>Parameter</strong></dt>
- <dd><span class="apidef">value</span><span class="apidesc">An option string to add to the radio button.</span></dd></dl></p>
- <h4 id="check"><i class="fa fa-caret-right"></i> check<a class="headerlink" href="#check" title="Permanent link">¶</a></h4>
- <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #66d9ef">void</span> <span style="color: #f8f8f2">check(</span><span style="color: #66d9ef">const</span> <span style="color: #f8f8f2">String</span><span style="color: #f92672">&</span> <span style="color: #f8f8f2">value)</span>
- </code></pre></div>
- <p>Indicates the check of the specified option for the radio buttons. You can use the <strong>check</strong> function for checking dynamically with arbitrary of the radio button.<dl class="apidl">
- <dt><strong>Parameter</strong></dt>
- <dd><span class="apidef">value</span><span class="apidesc">An option string to be checked.</span></dd></dl></p>
- <h4 id="empty"><i class="fa fa-caret-right"></i> empty<a class="headerlink" href="#empty" title="Permanent link">¶</a></h4>
- <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #66d9ef">void</span> <span style="color: #f8f8f2">empty(</span><span style="color: #66d9ef">const</span> <span style="color: #66d9ef">size_t</span> <span style="color: #f8f8f2">reserve</span> <span style="color: #f92672">=</span> <span style="color: #ae81ff">0</span><span style="color: #f8f8f2">)</span>
- </code></pre></div>
- <p>Clear the array of option strings that AutoConnectRadio has in the values. When the <strong><em>reserve</em></strong> parameter is specified, a vector container of that size is reserved.</p>
- <p>The empty function resets the checked value to zero. When the empty function is executed, any button will be turned off.<dl class="apidl">
- <dt><strong>Parameter</strong></dt>
- <dd><span class="apidef">reserve</span><span class="apidesc">Reserved size of a container for the radio button option strings.</span></dd></dl></p>
- <h4 id="operator"><i class="fa fa-caret-right"></i> operator [ ]<a class="headerlink" href="#operator" title="Permanent link">¶</a></h4>
- <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: #f8f8f2">String</span><span style="color: #f92672">&</span> <span style="color: #66d9ef">operator</span><span style="color: #f8f8f2">[]</span> <span style="color: #f8f8f2">(</span><span style="color: #66d9ef">const</span> <span style="color: #f8f8f2">std</span><span style="color: #f92672">::</span><span style="color: #66d9ef">size_t</span> <span style="color: #f8f8f2">n)</span>
- </code></pre></div>
- <p>Returns a value string of the index specified by <strong><em>n</em></strong>.<dl class="apidl">
- <dt><strong>Parameter</strong></dt>
- <dd><span class="apidef">n</span><span class="apidesc">Index of values array to return. Its base number is 0.</span></dd>
- <dt><strong>Return value</strong></dt>
- <dd>A reference of a value string indexed by the specified the <strong>n</strong>.</dd></dl></p>
- <h4 id="size_1"><i class="fa fa-caret-right"></i> size<a class="headerlink" href="#size_1" title="Permanent link">¶</a></h4>
- <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #66d9ef">size_t</span> <span style="color: #f8f8f2">size(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
- </code></pre></div>
- <p>Returns number of options which contained.<dl class="apidl">
- <dt><strong>Return value</strong></dt>
- <dd>Number of options which contained.</dd></dl></p>
- <h4 id="typeof_5"><i class="fa fa-caret-right"></i> typeOf<a class="headerlink" href="#typeof_5" title="Permanent link">¶</a></h4>
- <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #f8f8f2">ACElement_t</span> <span style="color: #f8f8f2">typeOf(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
- </code></pre></div>
- <p>Returns type of AutoConnectElement.<dl class="apidl">
- <dt><strong>Return value</strong></dt>
- <dd>AC_Radio</dd></dl></p>
- <h4 id="value_5"><i class="fa fa-caret-right"></i> value<a class="headerlink" href="#value_5" title="Permanent link">¶</a></h4>
- <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: #f8f8f2">String</span><span style="color: #f92672">&</span> <span style="color: #f8f8f2">value(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span> <span style="color: #66d9ef">const</span>
- </code></pre></div>
- <p>Returns current checked option of the radio buttons.<dl class="apidl">
- <dt><strong>Return value</strong></dt>
- <dd>A String of an option current checked. If there is no checked option, a null string returned.</dd></dl></p>
- <h2 id="autoconnectselect">AutoConnectSelect<a class="headerlink" href="#autoconnectselect" title="Permanent link">¶</a></h2>
- <h3 id="constructor_6"><i class="fa fa-code"></i> Constructor<a class="headerlink" href="#constructor_6" title="Permanent link">¶</a></h3>
- <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: #f92672">=</span> <span style="color: #e6db74">""</span><span style="color: #f8f8f2">,</span> <span style="color: #f8f8f2">std</span><span style="color: #f92672">::</span><span style="color: #f8f8f2">vector</span><span style="color: #f92672"><</span><span style="color: #f8f8f2">String</span><span style="color: #f92672">></span> <span style="color: #66d9ef">const</span><span style="color: #f92672">&</span> <span style="color: #f8f8f2">options</span> <span style="color: #f92672">=</span> <span style="color: #f8f8f2">{},</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: #f92672">=</span> <span style="color: #e6db74">""</span><span style="color: #f8f8f2">,</span> <span style="color: #66d9ef">const</span> <span style="color: #66d9ef">uint8_t</span> <span style="color: #f8f8f2">selected</span> <span style="color: #f92672">=</span> <span style="color: #ae81ff">0</span><span style="color: #f8f8f2">,</span> <span style="color: #66d9ef">const</span> <span style="color: #f8f8f2">ACPosterior_t</span> <span style="color: #f8f8f2">post</span> <span style="color: #f92672">=</span> <span style="color: #f8f8f2">AC_Tag_BR)</span>
- </code></pre></div>
- <dl class="apidl">
- <dt><strong>Parameters</strong></dt>
- <dd><span class="apidef">name</span><span class="apidesc">The element name.</span></dd>
- <dd><span class="apidef">options</span><span class="apidesc">An array of options of the select element. Specifies a <a href="https://en.cppreference.com/w/cpp/container/vector">std::vector</a> object.</span></dd>
- <dd><span class="apidef">label</span><span class="apidesc">Label string.</span></dd>
- <dd><span class="apidef">selected</span><span class="apidesc">An option should be pre-selected when the page loads.</span></dd>
- <dd><span class="apidef">post</span><span class="apidesc">Specifies the tag to be output afterward the element.</span></dd>
- </dl>
- <h3 id="public-member-variables_6"><i class="fa fa-code"></i> Public member variables<a class="headerlink" href="#public-member-variables_6" title="Permanent link">¶</a></h3>
- <h4 id="enable_6"><i class="fa fa-caret-right"></i> enable<a class="headerlink" href="#enable_6" title="Permanent link">¶</a></h4>
- <p>Enable HTML tag generation for the element.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">bool</span><span class="apidesc">AutoConnect will generate the element into HTML only if the enable attribute is true.</span></dd></dl></p>
- <h4 id="global_6"><i class="fa fa-caret-right"></i> global<a class="headerlink" href="#global_6" title="Permanent link">¶</a></h4>
- <p>The global attribute copies input values between elements of the same name on different custom Web pages.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">bool</span><span class="apidesc">An entered value will be copied to elements of the same name in other AutoConnectAuxes during page transition.<br>However, it will be copied only when the destination element has the true for a global attribute.</span></dd></dl></p>
- <h4 id="name_6"><i class="fa fa-caret-right"></i> name<a class="headerlink" href="#name_6" title="Permanent link">¶</a></h4>
- <p>The element name.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
- <h4 id="label_4"><i class="fa fa-caret-right"></i> label<a class="headerlink" href="#label_4" title="Permanent link">¶</a></h4>
- <p>A label is an optional string. A label will be arranged in the top of the selection list.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
- <h4 id="options"><i class="fa fa-caret-right"></i> options<a class="headerlink" href="#options" title="Permanent link">¶</a></h4>
- <p>An array of String type for the selection options. It is an initialization list can be used. The <code class="highlight"><span style="color: #f8f8f2"><</span><span style="color: #f92672">option</span> <span style="color: #a6e22e">value</span><span style="color: #f8f8f2">></span></code> tags will be generated from each entry in the options.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">std::vector<String></span><span class="apidesc"></span></dd></dl></p>
- <h4 id="post_6"><i class="fa fa-caret-right"></i> post<a class="headerlink" href="#post_6" title="Permanent link">¶</a></h4>
- <p>Specifies a tag to add behind the HTML code generated from the element.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">ACPosterior_t</span><span class="apidesc"></p>
- <ul>
- <li><strong><code>AC_Tag_None</code></strong> : No generate additional tags.</li>
- <li><strong><code>AC_Tag_BR</code></strong> : Add a <code><br></code> tag to the end of the element.</li>
- <li><strong><code>AC_Tag_P</code></strong> : Include the element in the <code><p> ~ </p></code> tag.
- </span></dd></dl></li>
- </ul>
- <h4 id="selected"><i class="fa fa-caret-right"></i> selected<a class="headerlink" href="#selected" title="Permanent link">¶</a></h4>
- <p>A <code>selected</code> is an optional value. Specifies 1-based index value of an options array that an option should be pre-selected when the page loads.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">uint8_t</span><span class="apidesc"></span></dd></dl></p>
- <h3 id="public-member-functions_6"><i class="fa fa-code"></i> Public member functions<a class="headerlink" href="#public-member-functions_6" title="Permanent link">¶</a></h3>
- <h4 id="add_1"><i class="fa fa-caret-right"></i> add<a class="headerlink" href="#add_1" title="Permanent link">¶</a></h4>
- <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #66d9ef">void</span> <span style="color: #f8f8f2">add(</span><span style="color: #66d9ef">const</span> <span style="color: #f8f8f2">String</span><span style="color: #f92672">&</span> <span style="color: #f8f8f2">option)</span>
- </code></pre></div>
- <p>Adds a selectable option string for the selection list.<dl class="apidl">
- <dt><strong>Parameter</strong></dt>
- <dd><span class="apidef">option</span><span class="apidesc">A string of selectable item to be contained in the select element.</span></dd></dl></p>
- <h4 id="empty_1"><i class="fa fa-caret-right"></i> empty<a class="headerlink" href="#empty_1" title="Permanent link">¶</a></h4>
- <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #66d9ef">void</span> <span style="color: #f8f8f2">empty(</span><span style="color: #66d9ef">const</span> <span style="color: #66d9ef">size_t</span> <span style="color: #f8f8f2">reserve</span> <span style="color: #f92672">=</span> <span style="color: #ae81ff">0</span><span style="color: #f8f8f2">)</span>
- </code></pre></div>
- <p>Clear the array of options list that AutoConnectSelect has in the options. When the <strong><em>reserve</em></strong> parameter is specified, a vector container of that size is reserved.</p>
- <p>The empty function resets the selected value to zero. When the empty function is executed, there are no selected options and the first item is placed at the beginning.<dl class="apidl">
- <dt><strong>Parameter</strong></dt>
- <dd><span class="apidef">reserve</span><span class="apidesc">Reserved size of a container for the options.</span></dd></dl></p>
- <h4 id="operator_1"><i class="fa fa-caret-right"></i> operator [ ]<a class="headerlink" href="#operator_1" title="Permanent link">¶</a></h4>
- <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: #f8f8f2">String</span><span style="color: #f92672">&</span> <span style="color: #66d9ef">operator</span><span style="color: #f8f8f2">[]</span> <span style="color: #f8f8f2">(</span><span style="color: #66d9ef">const</span> <span style="color: #f8f8f2">std</span><span style="color: #f92672">::</span><span style="color: #66d9ef">size_t</span> <span style="color: #f8f8f2">n)</span>
- </code></pre></div>
- <p>Returns an option string of the index specified by <strong><em>n</em></strong>.<dl class="apidl">
- <dt><strong>Parameter</strong></dt>
- <dd><span class="apidef">n</span><span class="apidesc">Index of options array to return. Its base number is 0.</span></dd>
- <dt><strong>Return value</strong></dt>
- <dd>A reference of a option string indexed by the specified the <strong>n</strong>.</dd></dl></p>
- <h4 id="select"><i class="fa fa-caret-right"></i> select<a class="headerlink" href="#select" title="Permanent link">¶</a></h4>
- <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #66d9ef">void</span> <span style="color: #a6e22e">select</span><span style="color: #f8f8f2">(</span><span style="color: #66d9ef">const</span> <span style="color: #f8f8f2">String</span><span style="color: #f92672">&</span> <span style="color: #f8f8f2">value);</span>
- </code></pre></div>
- <p>Selects an option with the value.<dl class="apidl">
- <dt><strong>Parameter</strong></dt>
- <dd><span class="apidef">value</span><span class="apidesc">String value that option should be selected in an option array.</span></dd></dl></p>
- <h4 id="size_2"><i class="fa fa-caret-right"></i> size<a class="headerlink" href="#size_2" title="Permanent link">¶</a></h4>
- <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #66d9ef">size_t</span> <span style="color: #f8f8f2">size(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
- </code></pre></div>
- <p>Returns number of options which contained.<dl class="apidl">
- <dt><strong>Return value</strong></dt>
- <dd>Number of options which contained.</dd></dl></p>
- <h4 id="typeof_6"><i class="fa fa-caret-right"></i> typeOf<a class="headerlink" href="#typeof_6" title="Permanent link">¶</a></h4>
- <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #f8f8f2">ACElement_t</span> <span style="color: #f8f8f2">typeOf(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
- </code></pre></div>
- <p>Returns type of AutoConnectElement.<dl class="apidl">
- <dt><strong>Return value</strong></dt>
- <dd>AC_Select</dd></dl></p>
- <h4 id="value_6"><i class="fa fa-caret-right"></i> value<a class="headerlink" href="#value_6" title="Permanent link">¶</a></h4>
- <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: #f8f8f2">String</span><span style="color: #f92672">&</span> <span style="color: #f8f8f2">value(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span> <span style="color: #66d9ef">const</span><span style="color: #f8f8f2">;</span>
- </code></pre></div>
- <p>Returns current selected option of the select list.<dl class="apidl">
- <dt><strong>Return value</strong></dt>
- <dd>A String of an option current selected. If there is no select option, a null string returned.</dd></dl></p>
- <h2 id="autoconnectstyle">AutoConnectStyle<a class="headerlink" href="#autoconnectstyle" title="Permanent link">¶</a></h2>
- <h3 id="constructor_7"><i class="fa fa-code"></i> Constructor<a class="headerlink" href="#constructor_7" title="Permanent link">¶</a></h3>
- <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: #f92672">=</span> <span style="color: #e6db74">""</span><span style="color: #f8f8f2">,</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: #f92672">=</span> <span style="color: #e6db74">""</span><span style="color: #f8f8f2">)</span>
- </code></pre></div>
- <dl class="apidl">
- <dt><strong>Parameters</strong></dt>
- <dd><span class="apidef">name</span><span class="apidesc">The element name.</span></dd>
- <dd><span class="apidef">value</span><span class="apidesc">Raw CSS code to insert into a style block in a custom web page to generate.</span></dd>
- </dl>
- <h3 id="public-member-variables_7"><i class="fa fa-code"></i> Public member variables<a class="headerlink" href="#public-member-variables_7" title="Permanent link">¶</a></h3>
- <h4 id="enable_7"><i class="fa fa-caret-right"></i> enable<a class="headerlink" href="#enable_7" title="Permanent link">¶</a></h4>
- <p>Enable HTML tag generation for the element.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">bool</span><span class="apidesc">AutoConnect will generate the element into HTML only if the enable attribute is true.</span></dd></dl></p>
- <h4 id="name_7"><i class="fa fa-caret-right"></i> name<a class="headerlink" href="#name_7" title="Permanent link">¶</a></h4>
- <p>The element name.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
- <h4 id="value_7"><i class="fa fa-caret-right"></i> value<a class="headerlink" href="#value_7" title="Permanent link">¶</a></h4>
- <p>Raw CSS code to insert into a style block in a custom web page to generate.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
- <h3 id="public-member-functions_7"><i class="fa fa-code"></i> Public member functions<a class="headerlink" href="#public-member-functions_7" title="Permanent link">¶</a></h3>
- <h4 id="typeof_7"><i class="fa fa-caret-right"></i> typeOf<a class="headerlink" href="#typeof_7" title="Permanent link">¶</a></h4>
- <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #f8f8f2">ACElement_t</span> <span style="color: #f8f8f2">typeOf(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
- </code></pre></div>
- <p>Returns type of AutoConnectElement.<dl class="apidl">
- <dt><strong>Return value</strong></dt>
- <dd>AC_Style</dd></dl></p>
- <h2 id="autoconnectsubmit">AutoConnectSubmit<a class="headerlink" href="#autoconnectsubmit" title="Permanent link">¶</a></h2>
- <h3 id="constructor_8"><i class="fa fa-code"></i> Constructor<a class="headerlink" href="#constructor_8" title="Permanent link">¶</a></h3>
- <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: #f92672">=</span> <span style="color: #e6db74">""</span><span style="color: #f8f8f2">,</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: #f92672">=</span><span style="color: #e6db74">""</span><span style="color: #f8f8f2">,</span> <span style="color: #66d9ef">char</span><span style="color: #f92672">*</span> <span style="color: #f8f8f2">uri</span> <span style="color: #f92672">=</span> <span style="color: #e6db74">""</span><span style="color: #f8f8f2">,</span> <span style="color: #66d9ef">const</span> <span style="color: #f8f8f2">ACPosterior_t</span> <span style="color: #f8f8f2">post</span> <span style="color: #f92672">=</span> <span style="color: #f8f8f2">AC_Tag_None)</span>
- </code></pre></div>
- <dl class="apidl">
- <dt><strong>Parameters</strong></dt>
- <dd><span class="apidef">name</span><span class="apidesc">The element name.</span></dd>
- <dd><span class="apidef">value</span><span class="apidesc">The name of the submit button as an HTML `#!html <input type="button">` tag, it will also be the label of the button.</span></dd>
- <dd><span class="apidef">uri</span><span class="apidesc">Destination URI.</span></dd>
- <dd><span class="apidef">post</span><span class="apidesc">Specifies the tag to be output afterward the element.</span></dd>
- </dl>
- <h3 id="public-member-variables_8"><i class="fa fa-code"></i> Public member variables<a class="headerlink" href="#public-member-variables_8" title="Permanent link">¶</a></h3>
- <h4 id="enable_8"><i class="fa fa-caret-right"></i> enable<a class="headerlink" href="#enable_8" title="Permanent link">¶</a></h4>
- <p>Enable HTML tag generation for the element.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">bool</span><span class="apidesc">AutoConnect will generate the element into HTML only if the enable attribute is true.</span></dd></dl></p>
- <h4 id="global_7"><i class="fa fa-caret-right"></i> global<a class="headerlink" href="#global_7" title="Permanent link">¶</a></h4>
- <p>The global attribute copies input values between elements of the same name on different custom Web pages.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">bool</span><span class="apidesc">An entered value will be copied to elements of the same name in other AutoConnectAuxes during page transition.<br>However, it will be copied only when the destination element has the true for a global attribute.</span></dd></dl></p>
- <h4 id="name_8"><i class="fa fa-caret-right"></i> name<a class="headerlink" href="#name_8" title="Permanent link">¶</a></h4>
- <p>The element name.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
- <h4 id="post_7"><i class="fa fa-caret-right"></i> post<a class="headerlink" href="#post_7" title="Permanent link">¶</a></h4>
- <p>Specifies a tag to add behind the HTML code generated from the element.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">ACPosterior_t</span><span class="apidesc"></p>
- <ul>
- <li><strong><code>AC_Tag_None</code></strong> : No generate additional tags.</li>
- <li><strong><code>AC_Tag_BR</code></strong> : Add a <code><br></code> tag to the end of the element.</li>
- <li><strong><code>AC_Tag_P</code></strong> : Include the element in the <code><p> ~ </p></code> tag.
- </span></dd></dl></li>
- </ul>
- <h4 id="uri"><i class="fa fa-caret-right"></i> uri<a class="headerlink" href="#uri" title="Permanent link">¶</a></h4>
- <p>Destination URI.<dl class="apidl"> <dt><strong>Type</strong></dt>
- <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
- <h4 id="value_8"><i class="fa fa-caret-right"></i> value<a class="headerlink" href="#value_8" title="Permanent link">¶</a></h4>
- <p>The name of the submit button. It will also be the label of the button.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
- <h3 id="public-member-functions_8"><i class="fa fa-code"></i> Public member functions<a class="headerlink" href="#public-member-functions_8" title="Permanent link">¶</a></h3>
- <h4 id="typeof_8"><i class="fa fa-caret-right"></i> typeOf<a class="headerlink" href="#typeof_8" title="Permanent link">¶</a></h4>
- <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #f8f8f2">ACElement_t</span> <span style="color: #f8f8f2">typeOf(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
- </code></pre></div>
- <p>Returns type of AutoConnectElement.<dl class="apidl">
- <dt><strong>Return value</strong></dt>
- <dd>AC_Submit</dd></dl></p>
- <h2 id="autoconnecttext">AutoConnectText<a class="headerlink" href="#autoconnecttext" title="Permanent link">¶</a></h2>
- <h3 id="constructor_9"><i class="fa fa-code"></i> Constructor<a class="headerlink" href="#constructor_9" title="Permanent link">¶</a></h3>
- <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: #f92672">=</span> <span style="color: #e6db74">""</span><span style="color: #f8f8f2">,</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: #f92672">=</span> <span style="color: #e6db74">""</span><span style="color: #f8f8f2">,</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: #f92672">=</span> <span style="color: #e6db74">""</span><span style="color: #f8f8f2">,</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: #f92672">=</span> <span style="color: #e6db74">""</span><span style="color: #f8f8f2">,</span> <span style="color: #66d9ef">const</span> <span style="color: #f8f8f2">ACPosterior_t</span> <span style="color: #f8f8f2">post</span> <span style="color: #f92672">=</span> <span style="color: #f8f8f2">AC_Tag_None)</span>
- </code></pre></div>
- <dl class="apidl">
- <dt><strong>Parameters</strong></dt>
- <dd><span class="apidef">name</span><span class="apidesc">The element name.</span></dd>
- <dd><span class="apidef">value</span><span class="apidesc">String of content for the text element.</span></dd>
- <dd><span class="apidef">style</span><span class="apidesc">A style code with CSS format that qualifiers the text.</span></dd>
- <dd><span class="apidef">format</span><span class="apidesc">A pointer to a null-terminated multibyte 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</span></dd>
- <dd><span class="apidef">post</span><span class="apidesc">Specifies the tag to be output afterward the element.</span></dd>
- </dl>
- <h3 id="public-member-variables_9"><i class="fa fa-code"></i> Public member variables<a class="headerlink" href="#public-member-variables_9" title="Permanent link">¶</a></h3>
- <h4 id="enable_9"><i class="fa fa-caret-right"></i> enable<a class="headerlink" href="#enable_9" title="Permanent link">¶</a></h4>
- <p>Enable HTML tag generation for the element.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">bool</span><span class="apidesc">AutoConnect will generate the element into HTML only if the enable attribute is true.</span></dd></dl></p>
- <h4 id="format"><i class="fa fa-caret-right"></i> format<a class="headerlink" href="#format" title="Permanent link">¶</a></h4>
- <p>The conversion format when outputting values. The format string conforms to C-style printf library functions.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
- <h4 id="global_8"><i class="fa fa-caret-right"></i> global<a class="headerlink" href="#global_8" title="Permanent link">¶</a></h4>
- <p>The global attribute copies input values between elements of the same name on different custom Web pages.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">bool</span><span class="apidesc">An entered value will be copied to elements of the same name in other AutoConnectAuxes during page transition.<br>However, it will be copied only when the destination element has the true for a global attribute.</span></dd></dl></p>
- <h4 id="name_9"><i class="fa fa-caret-right"></i> name<a class="headerlink" href="#name_9" title="Permanent link">¶</a></h4>
- <p>The element name.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
- <h4 id="post_8"><i class="fa fa-caret-right"></i> post<a class="headerlink" href="#post_8" title="Permanent link">¶</a></h4>
- <p>Specifies a tag to add behind the HTML code generated from the element.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">ACPosterior_t</span><span class="apidesc"></p>
- <ul>
- <li><strong><code>AC_Tag_None</code></strong> : No generate additional tags.</li>
- <li><strong><code>AC_Tag_BR</code></strong> : Add a <code><br></code> tag to the end of the element.</li>
- <li><strong><code>AC_Tag_P</code></strong> : Include the element in the <code><p> ~ </p></code> tag.
- </span></dd></dl></li>
- </ul>
- <h4 id="style"><i class="fa fa-caret-right"></i> style<a class="headerlink" href="#style" title="Permanent link">¶</a></h4>
- <p>A style code with CSS format that qualifiers the text.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
- <h4 id="value_9"><i class="fa fa-caret-right"></i> value<a class="headerlink" href="#value_9" title="Permanent link">¶</a></h4>
- <p>A content string of the text element.<dl class="apidl">
- <dt><strong>Type</strong></dt>
- <dd><span class="apidef">String</span><span class="apidesc"></span></dd></dl></p>
- <h3 id="public-member-functions_9"><i class="fa fa-code"></i> Public member functions<a class="headerlink" href="#public-member-functions_9" title="Permanent link">¶</a></h3>
- <h4 id="typeof_9"><i class="fa fa-caret-right"></i> typeOf<a class="headerlink" href="#typeof_9" title="Permanent link">¶</a></h4>
- <div class="highlight" style="background: #272822"><pre style="line-height: 125%; margin: 0;"><span></span><code><span style="color: #f8f8f2">ACElement_t</span> <span style="color: #f8f8f2">typeOf(</span><span style="color: #66d9ef">void</span><span style="color: #f8f8f2">)</span>
- </code></pre></div>
- <p>Returns type of AutoConnectElement.<dl class="apidl">
- <dt><strong>Return value</strong></dt>
- <dd>AC_Text</dd></dl></p>
- <div class="footnote">
- <hr />
- <ol>
- <li id="fn:1">
- <p><strong>ACInput_t</strong> does not mind what kind of display effects on the browser. For example, <strong>input type="number"</strong> has a spin button in Chrome, but has no display effects in iOS Safari. You will see the numeric keypad at inputting the number field with giving the pattern as <code>\d*</code>. <a class="footnote-backref" href="#fnref:1" title="Jump back to footnote 1 in the text">↩</a><a class="footnote-backref" href="#fnref2:1" title="Jump back to footnote 1 in the text">↩</a></p>
- </li>
- </ol>
- </div>
-
-
-
-
-
- </article>
- </div>
- </div>
- </main>
-
-
- <footer class="md-footer">
-
- <div class="md-footer-nav">
- <nav class="md-footer-nav__inner md-grid" aria-label="Footer">
-
- <a href="apiconfig.html" class="md-footer-nav__link md-footer-nav__link--prev" rel="prev">
- <div class="md-footer-nav__button md-icon">
- <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>
- </div>
- <div class="md-footer-nav__title">
- <div class="md-ellipsis">
- <span class="md-footer-nav__direction">
- Previous
- </span>
- AutoConnectConfig API
- </div>
- </div>
- </a>
-
-
- <a href="apiupdate.html" class="md-footer-nav__link md-footer-nav__link--next" rel="next">
- <div class="md-footer-nav__title">
- <div class="md-ellipsis">
- <span class="md-footer-nav__direction">
- Next
- </span>
- AutoConnectUpdate API
- </div>
- </div>
- <div class="md-footer-nav__button md-icon">
- <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>
- </div>
- </a>
-
- </nav>
- </div>
-
- <div class="md-footer-meta md-typeset">
- <div class="md-footer-meta__inner md-grid">
- <div class="md-footer-copyright">
-
- <div class="md-footer-copyright__highlight">
- Copyright © 2018-2020 Hieromon Ikasamo
- </div>
-
- Made with
- <a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
- Material for MkDocs
- </a>
- </div>
-
- <div class="md-footer-social">
-
-
-
-
-
-
- <a href="https://github.com/Hieromon" target="_blank" rel="noopener" title="github.com" class="md-footer-social__link">
- <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>
- </a>
-
-
-
-
-
-
- <a href="https://twitter.com/hieromon" target="_blank" rel="noopener" title="twitter.com" class="md-footer-social__link">
- <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>
- </a>
-
- </div>
- </div>
- </div>
- </footer>
-
- </div>
-
- <script src="assets/javascripts/vendor.fd16492e.min.js"></script>
- <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>
-
- <script>
- app = initialize({
- base: ".",
- features: [],
- search: Object.assign({
- worker: "assets/javascripts/worker/search.4ac00218.min.js"
- }, typeof search !== "undefined" && search)
- })
- </script>
-
- <script src="js/gifffer.min.js"></script>
-
-
- </body>
- </html>
|