diff --git a/README.md b/README.md index 82e6a78..7f56f93 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ Full documentation is available on https://Hieromon.github.io/AutoConnect, some - [Getting started](https://hieromon.github.io/AutoConnect/gettingstarted/index.html) with the most simple sketch for using AutoConnect. - The [Basic usage](https://hieromon.github.io/AutoConnect/basicusage/index.html) guides to using the library correctly. - Details are explained in the [Advanced usage](https://hieromon.github.io/AutoConnect/advancedusage/index.html). -- Usages and details for the custom Web pages describe in [Custom Web pages with AutoConnect](https://hieromon.github.io/AutoConnect/acintro.html). +- Details and usage of custom Web pages are explained in the [Custom Web pages](https://hieromon.github.io/AutoConnect/acintro.html). - The [API reference](https://hieromon.github.io/AutoConnect/api/index.html) describes the AutoConnect functions specification. - [FAQ](https://hieromon.github.io/AutoConnect/faq/index.html). @@ -96,7 +96,7 @@ Full documentation is available on https://Hieromon.github.io/AutoConnect, some ### [0.9.7] Feb. 25, 2019 - Fixed crash in some environments. Thank you @ageurtse -- Supports AutoConnect menu extention by user sketch with **AutoConnectAux**. +- Supports AutoConnect menu extension by user sketch with **AutoConnectAux**. - Supports loading and saving of user-defined parameters with JSON format. - Improved the WiFi connection sequence at the first WiFi.begin. Even if **AutoConnectConfig::autoReconnect** is disabled when SSID and PSK are not specified, it will use the information of the last established access point. The autoReconnect option will achieve trying the connect after a previous connection failed. - Supports the **AutoConnectConfig::immediateStart** option and immediately starts the portal without first trying WiFi.begin. You can start the captive portal at any time in combination with the **AutoConnectConfig::autoRise** option. diff --git a/mkdocs/acelements.md b/mkdocs/acelements.md index e16657a..e518eec 100644 --- a/mkdocs/acelements.md +++ b/mkdocs/acelements.md @@ -13,13 +13,11 @@ Representative HTML elements for making the custom Web page are provided as Auto ## Layout on a custom Web page -You can specify the direction to arrange the radio buttons as [**AutoConnectRadio**](#autoconnectradio) vertically or horizontally. Other elements are arranged vertically in the order of addition to AutoConnectAux. This basic layout depends on the CSS of the AutoConnect menu so it can not be changed drastically. +The elements of the page created by AutoConnectElements are aligned vertically exclude the [AutoConnectRadio](#autoconnectradio). You can specify the direction to arrange the radio buttons as AutoConnectRadio vertically or horizontally. This basic layout depends on the CSS of the AutoConnect menu so you can not change drastically. ## Form and AutoConnectElements -All AutoConnectElements placed on a custom Web page are included in one form. Its form is fixed and created by AutoConnect. The form's value (usually the text or checkbox you entered) is sent by [AutoConnectSubmit](#autoconnectsubmit) using the POST method. - -**name** and **value** of each AutoConnectElement which own form-data are reflected in the query string when the custom Web page was sent. You can retrieve the value in the sketch as the parameter's value of the query string with [**ESP8266WebServer::arg**](https://github.com/esp8266/Arduino/tree/master/libraries/ESP8266WebServer#getting-information-about-request-arguments) function or **PageArgument** class of [**AutoConnect::on**](api.md#on) handler when the form is submitted. +All AutoConnectElements placed on custom web pages will be contained into one form. Its form is fixed and created by AutoConnect. The form value (usually the text or checkbox you entered) is sent by [AutoConnectSubmit](#autoconnectsubmit) using the **POST** method with HTTP. The post method sends the actual form data which is a query string whose contents are the **name** and **value** of AutoConnectElements. You can retrieve the value for the parameter with the sketch from the query string with [ESP8266WebServer::arg](https://github.com/esp8266/Arduino/tree/master/libraries/ESP8266WebServer#getting-information-about-request-arguments) function or [PageArgument](https://github.com/Hieromon/PageBuilder#arguments-of-invoked-user-function) class of the [AutoConnect::on](api.md#on) handler when the form is submitted. ## AutoConnectElement - A basic class of elements @@ -76,7 +74,7 @@ Furthermore, to convert an entity that is not an AutoConnectElement to its nativ ## AutoConnectButton -AutoConnectButton generates an HTML `#!html