From 2818c6cd022605e2a594acfecc2e26ab37eeb72f Mon Sep 17 00:00:00 2001 From: Hieromon Ikasamo Date: Thu, 16 Apr 2020 23:40:00 +0900 Subject: [PATCH] Deploy for 246b607d8e8387f249b22fa1c6087b2e28a9d9cf --- docs/acelements.html | 14 +-- docs/achandling.html | 28 ++--- docs/acintro.html | 10 +- docs/acjson.html | 12 +-- docs/acupload.html | 12 +-- docs/advancedusage.html | 62 ++++++++--- docs/api.html | 2 +- docs/apiaux.html | 4 +- docs/apiconfig.html | 14 +-- docs/apiextra.html | 2 +- docs/basicusage.html | 30 +++--- docs/colorized.html | 2 +- docs/faq.html | 16 +-- docs/gettingstarted.html | 4 +- docs/howtoembed.html | 20 ++-- docs/images/process_begin.svg | 195 +++++++++++++++++++++------------- docs/index.html | 24 ++--- docs/lsbegin.html | 5 +- docs/menu.html | 10 +- docs/menuize.html | 6 +- docs/otabrowser.html | 6 +- docs/otaserver.html | 2 +- docs/search/search_index.json | 2 +- docs/sitemap.xml | 60 +++++------ docs/sitemap.xml.gz | Bin 412 -> 412 bytes docs/wojson.html | 6 +- 26 files changed, 320 insertions(+), 228 deletions(-) diff --git a/docs/acelements.html b/docs/acelements.html index 0c8c43f..d7f6313 100644 --- a/docs/acelements.html +++ b/docs/acelements.html @@ -1987,7 +1987,7 @@

All custom Web page styles are limited to the built-in unique CSS embedded in the library code. Direct modification of the CSS affects AutoConnect behavior. You can use dedicated elements to relatively safely modify the style of your custom Web page. The AutoConnectStyle will insert the raw CSS code into the style block in HTML of the custom Web page.

Form and AutoConnectElements

-

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 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 function or PageArgument class of the AutoConnect::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 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 function or PageArgument class of the AutoConnect::on handler when the form is submitted.

AutoConnectElement - A basic class of elements

AutoConnectElement is a base class for other element classes and has common attributes for all elements. It can also be used as a variant of each element. The following items are attributes that AutoConnectElement has and are common to other elements.

Sample
@@ -2057,7 +2057,7 @@ AutoConnect will not actively be involved in the layout of custom Web pages gene

type

-

The type indicates the type of the element and represented as the ACElement_t enumeration type in the sketch. Since AutoConnectElement also acts as a variant of other elements, it can be applied to handle elements collectively. At that time, the type can be referred to by the typeOf() function. The following example changes the font color of all AutoConnectText elements of a custom Web page to gray.

+

The type indicates the type of the element and represented as the ACElement_t enumeration type in the Sketch. Since AutoConnectElement also acts as a variant of other elements, it can be applied to handle elements collectively. At that time, the type can be referred to by the typeOf() function. The following example changes the font color of all AutoConnectText elements of a custom Web page to gray.

AutoConnectAux  customPage;
 
 AutoConnectElementVT& elements = customPage.getElements();
@@ -2083,7 +2083,7 @@ AutoConnect will not actively be involved in the layout of custom Web pages gene
 
  • AutoConnectText: AC_Text
  • Uninitialized element: AC_Unknown
  • -

    Furthermore, to convert an entity that is not an AutoConnectElement to its native type, you must re-interpret that type with c++. Or, you can be coding the sketch more easily with using the as<T> function.

    +

    Furthermore, to convert an entity that is not an AutoConnectElement to its native type, you must re-interpret that type with c++. Or, you can be coding the Sketch more easily with using the as<T> function.

    AutoConnectAux  customPage;
     
     AutoConnectElementVT& elements = customPage.getElements();
    @@ -2173,7 +2173,7 @@ Only  will be displayed if a label is not specified
     
    • AC_File_FS : Save as the SPIFFS file in flash of ESP8266/ESP32 module.
    • AC_File_SD : Save to an external SD device connected to ESP8266/ESP32 module.
    • -
    • AC_File_Extern : Pass the content of the uploaded file to the uploader which is declared by the sketch individually. Its uploader must inherit AutoConnectUploadHandler class and implements _open, _write and _close function.
    • +
    • AC_File_Extern : Pass the content of the uploaded file to the uploader which is declared by the Sketch individually. Its uploader must inherit AutoConnectUploadHandler class and implements _open, _write and _close function.

    Built-in uploader is ready.

    @@ -2182,7 +2182,7 @@ Only will be displayed if a label is not specified

    post

    Specifies a tag to add behind the HTML code generated from the element. The default values is AC_Tag_BR.

    AutoConnectInput

    -

    AutoConnectInput generates an HTML <input type="text"> tag and a <label> tag. It can also have a placeholder. The value of the input box is passed to the destination in the query string and can be retrieved programmatically. You can also update from the sketches.

    +

    AutoConnectInput generates an HTML <input type="text"> tag and a <label> tag. It can also have a placeholder. The value of the input box is passed to the destination in the query string and can be retrieved programmatically. You can also update from the Sketches.

    Sample
    AutoConnectInput input("input", "", "Server", "MQTT broker server");

    On the page:

    @@ -2258,7 +2258,7 @@ Therefore, specifying the wrong CSS will modulate the behavior of the custom Web

    name

    -

    It is the name of the AutoConnectStyle element and is useful only to access this element from the sketch. It does not affect the generated HTML code.

    +

    It is the name of the AutoConnectStyle element and is useful only to access this element from the Sketch. It does not affect the generated HTML code.

    value

    The raw CSS code. It is not necessary to write <style> </style> tags.

    AutoConnectSelect

    @@ -2309,7 +2309,7 @@ Therefore, specifying the wrong CSS will modulate the behavior of the custom Web

    name

    -

    A name does not exist in the generated HTML. It provides only a means of accessing elements with the sketches.

    +

    A name does not exist in the generated HTML. It provides only a means of accessing elements with the Sketches.

    value

    It becomes content and also can contain the native HTML code, but remember that your written code is enclosed by the div tag.

    style

    diff --git a/docs/achandling.html b/docs/achandling.html index 44e9470..73fe4f9 100644 --- a/docs/achandling.html +++ b/docs/achandling.html @@ -407,7 +407,7 @@
  • - Handing AutoConnectElements with the sketches + Handing AutoConnectElements with the Sketches