From 0faff70ad9358238a95053eea7ca4c1723c5b984 Mon Sep 17 00:00:00 2001 From: Michel Anderson Lutz Teixeira Date: Tue, 16 Aug 2022 14:46:47 -0300 Subject: [PATCH] New Component input radio --- README.md | 61 ++- .../jumpper/HTML/Tags/Inputs/InputText.swift | 8 +- Sources/jumpper/HTML/Tags/Inputs/Radio.swift | 53 +++ Sources/jumpper/jumpper.swift | 2 +- Tests/LinuxMain.swift | 2 + Tests/jumpperTests/RadioTests.swift | 22 + Tests/jumpperTests/XCTestManifests.swift | 3 +- docs/Classes.html | 62 ++- docs/Classes/A.html | 16 +- docs/Classes/Attribute.html | 51 +-- docs/Classes/Blockquote.html | 16 +- docs/Classes/Body.html | 16 +- docs/Classes/Br.html | 16 +- docs/Classes/Button.html | 16 +- docs/Classes/Canvas.html | 16 +- docs/Classes/Center.html | 16 +- docs/Classes/Checkbox.html | 18 +- docs/Classes/Code.html | 16 +- docs/Classes/CompositeElements.html | 25 +- docs/Classes/ContainerElementBase.html | 16 +- docs/Classes/DD.html | 16 +- docs/Classes/DL.html | 16 +- docs/Classes/DT.html | 16 +- docs/Classes/Div.html | 16 +- docs/Classes/Doctype.html | 46 +- docs/Classes/Em.html | 16 +- docs/Classes/Fieldset.html | 16 +- docs/Classes/Footer.html | 16 +- docs/Classes/Form.html | 16 +- docs/Classes/GenericElement.html | 20 +- docs/Classes/H1.html | 16 +- docs/Classes/H2.html | 16 +- docs/Classes/H3.html | 16 +- docs/Classes/H4.html | 16 +- docs/Classes/H5.html | 16 +- docs/Classes/H6.html | 16 +- docs/Classes/Head.html | 16 +- docs/Classes/Header.html | 16 +- docs/Classes/Hr.html | 16 +- docs/Classes/Html.html | 16 +- docs/Classes/Img.html | 18 +- docs/Classes/InputElementBase.html | 18 +- docs/Classes/InputText.html | 24 +- docs/Classes/LI.html | 18 +- docs/Classes/Label.html | 16 +- docs/Classes/Link.html | 18 +- docs/Classes/LinkStylesheet.html | 18 +- docs/Classes/Main.html | 16 +- docs/Classes/Meta.html | 18 +- docs/Classes/OL.html | 16 +- docs/Classes/Option.html | 18 +- docs/Classes/P.html | 16 +- docs/Classes/Pre.html | 16 +- docs/Classes/Radio.html | 383 +++++++++++++++++ docs/Classes/Script.html | 16 +- docs/Classes/Section.html | 16 +- docs/Classes/Select.html | 58 +-- docs/Classes/Small.html | 16 +- docs/Classes/Strong.html | 16 +- docs/Classes/Submit.html | 18 +- docs/Classes/TBody.html | 16 +- docs/Classes/THead.html | 16 +- docs/Classes/Table.html | 99 +---- docs/Classes/TableColumnBase.html | 16 +- docs/Classes/TableRowBase.html | 16 +- docs/Classes/Td.html | 16 +- docs/Classes/Text.html | 49 +-- docs/Classes/Textarea.html | 16 +- docs/Classes/Th.html | 16 +- docs/Classes/Title.html | 18 +- docs/Classes/Tr.html | 16 +- docs/Classes/TypographyElementBase.html | 16 +- docs/Classes/U.html | 16 +- docs/Classes/UL.html | 66 +-- docs/Protocols.html | 16 +- docs/Protocols/ElementProtocol.html | 16 +- docs/Structs.html | 22 +- docs/Structs/FactoryElements.html | 19 +- docs/Structs/jumpper.html | 22 +- docs/Typealiases.html | 16 +- docs/badge.svg | 16 +- docs/css/highlight.css | 400 +++++++++--------- docs/css/jazzy.css | 18 +- .../Contents/Resources/Documents/Classes.html | 62 ++- .../Resources/Documents/Classes/A.html | 16 +- .../Documents/Classes/Attribute.html | 51 +-- .../Documents/Classes/Blockquote.html | 16 +- .../Resources/Documents/Classes/Body.html | 16 +- .../Resources/Documents/Classes/Br.html | 16 +- .../Resources/Documents/Classes/Button.html | 16 +- .../Resources/Documents/Classes/Canvas.html | 16 +- .../Resources/Documents/Classes/Center.html | 16 +- .../Resources/Documents/Classes/Checkbox.html | 18 +- .../Resources/Documents/Classes/Code.html | 16 +- .../Documents/Classes/CompositeElements.html | 25 +- .../Classes/ContainerElementBase.html | 16 +- .../Resources/Documents/Classes/DD.html | 16 +- .../Resources/Documents/Classes/DL.html | 16 +- .../Resources/Documents/Classes/DT.html | 16 +- .../Resources/Documents/Classes/Div.html | 16 +- .../Resources/Documents/Classes/Doctype.html | 46 +- .../Resources/Documents/Classes/Em.html | 16 +- .../Resources/Documents/Classes/Fieldset.html | 16 +- .../Resources/Documents/Classes/Footer.html | 16 +- .../Resources/Documents/Classes/Form.html | 16 +- .../Documents/Classes/GenericElement.html | 20 +- .../Resources/Documents/Classes/H1.html | 16 +- .../Resources/Documents/Classes/H2.html | 16 +- .../Resources/Documents/Classes/H3.html | 16 +- .../Resources/Documents/Classes/H4.html | 16 +- .../Resources/Documents/Classes/H5.html | 16 +- .../Resources/Documents/Classes/H6.html | 16 +- .../Resources/Documents/Classes/Head.html | 16 +- .../Resources/Documents/Classes/Header.html | 16 +- .../Resources/Documents/Classes/Hr.html | 16 +- .../Resources/Documents/Classes/Html.html | 16 +- .../Resources/Documents/Classes/Img.html | 18 +- .../Documents/Classes/InputElementBase.html | 18 +- .../Documents/Classes/InputText.html | 24 +- .../Resources/Documents/Classes/LI.html | 18 +- .../Resources/Documents/Classes/Label.html | 16 +- .../Resources/Documents/Classes/Link.html | 18 +- .../Documents/Classes/LinkStylesheet.html | 18 +- .../Resources/Documents/Classes/Main.html | 16 +- .../Resources/Documents/Classes/Meta.html | 18 +- .../Resources/Documents/Classes/OL.html | 16 +- .../Resources/Documents/Classes/Option.html | 18 +- .../Resources/Documents/Classes/P.html | 16 +- .../Resources/Documents/Classes/Pre.html | 16 +- .../Resources/Documents/Classes/Radio.html | 383 +++++++++++++++++ .../Resources/Documents/Classes/Script.html | 16 +- .../Resources/Documents/Classes/Section.html | 16 +- .../Resources/Documents/Classes/Select.html | 58 +-- .../Resources/Documents/Classes/Small.html | 16 +- .../Resources/Documents/Classes/Strong.html | 16 +- .../Resources/Documents/Classes/Submit.html | 18 +- .../Resources/Documents/Classes/TBody.html | 16 +- .../Resources/Documents/Classes/THead.html | 16 +- .../Resources/Documents/Classes/Table.html | 99 +---- .../Documents/Classes/TableColumnBase.html | 16 +- .../Documents/Classes/TableRowBase.html | 16 +- .../Resources/Documents/Classes/Td.html | 16 +- .../Resources/Documents/Classes/Text.html | 49 +-- .../Resources/Documents/Classes/Textarea.html | 16 +- .../Resources/Documents/Classes/Th.html | 16 +- .../Resources/Documents/Classes/Title.html | 18 +- .../Resources/Documents/Classes/Tr.html | 16 +- .../Classes/TypographyElementBase.html | 16 +- .../Resources/Documents/Classes/U.html | 16 +- .../Resources/Documents/Classes/UL.html | 66 +-- .../Resources/Documents/Protocols.html | 16 +- .../Documents/Protocols/ElementProtocol.html | 16 +- .../Contents/Resources/Documents/Structs.html | 22 +- .../Documents/Structs/FactoryElements.html | 19 +- .../Resources/Documents/Structs/jumpper.html | 22 +- .../Resources/Documents/Typealiases.html | 16 +- .../Contents/Resources/Documents/badge.svg | 4 +- .../Resources/Documents/css/highlight.css | 400 +++++++++--------- .../Resources/Documents/css/jazzy.css | 18 +- .../Contents/Resources/Documents/index.html | 73 +++- .../Contents/Resources/Documents/js/jazzy.js | 4 + .../Resources/Documents/js/jazzy.search.js | 4 + .../Resources/Documents/js/jquery.min.js | 4 +- .../Resources/Documents/js/lunr.min.js | 6 +- .../Contents/Resources/Documents/search.json | 2 +- .../Resources/Documents/undocumented.json | 21 + .../.docset/Contents/Resources/docSet.dsidx | Bin 45056 -> 45056 bytes docs/docsets/.tgz | Bin 123394 -> 123497 bytes docs/index.html | 73 +++- docs/js/jazzy.js | 4 + docs/js/jazzy.search.js | 4 + docs/js/jquery.min.js | 4 +- docs/js/lunr.min.js | 6 +- docs/search.json | 2 +- docs/undocumented.json | 59 +-- 175 files changed, 2963 insertions(+), 2130 deletions(-) create mode 100644 Sources/jumpper/HTML/Tags/Inputs/Radio.swift create mode 100644 Tests/jumpperTests/RadioTests.swift create mode 100644 docs/Classes/Radio.html create mode 100644 docs/docsets/.docset/Contents/Resources/Documents/Classes/Radio.html diff --git a/README.md b/README.md index 1d639f7..dc8472e 100644 --- a/README.md +++ b/README.md @@ -41,12 +41,46 @@ I hope it will be useful for more developers. - [Online Doc](http://jumpper-docs.micheltlutz.me) +# Using in Package.swift + +```swift +// swift-tools-version:5.6 +import PackageDescription + +let package = Package( + name: "assessment", + platforms: [ + .macOS(.v12) + ], + dependencies: [ + .package(url: "https://github.com/vapor/vapor.git", from: "4.0.0"), + .package(url: "https://github.com/jumpper/jumpper.git", from: "0.0.9") + ], + targets: [ + .target( + name: "App", + dependencies: [ + .product(name: "Vapor", package: "vapor"), + .product(name: "jumpper", package: "jumpper") + ] + ), + .executableTarget(name: "Run", dependencies: [.target(name: "App")]), + .testTarget(name: "AppTests", dependencies: [ + .target(name: "App"), + .product(name: "XCTVapor", package: "vapor"), + ]) + ] +) +``` + # Vapor usage -> Need Leaf installed +## Need Leaf installed ```swift import jumpper +import Leaf +import Vapor router.get { req -> Future in let div = Div() @@ -54,6 +88,31 @@ router.get { req -> Future in return try req.view().render("base", ["title": "Hello jumpper", "body": div.getString()]) } ``` + +## Without Leaf + +```swift +import jumpper +import Vapor + + +protocol JumpperPageProtocol { + func render() throws -> EventLoopFuture +} + +public final class IndexPage: JumpperPageProtocol { + // MARK: - Render + + public func render() throws -> EventLoopFuture { + let response = Response() + + let divC = Div() + response.body = .init(string: divC.getString()) + return response.encodeResponse(status: .ok, headers: HTTPHeaders.init([("Content-Type", "text/html; charset=UTF-8")]), for: request) + } +} +``` + # jumpper vapor project demo - [jumpper-demo](https://github.com/jumpper/jumpper-demo) diff --git a/Sources/jumpper/HTML/Tags/Inputs/InputText.swift b/Sources/jumpper/HTML/Tags/Inputs/InputText.swift index fe5bd8a..8248f4d 100644 --- a/Sources/jumpper/HTML/Tags/Inputs/InputText.swift +++ b/Sources/jumpper/HTML/Tags/Inputs/InputText.swift @@ -1,7 +1,7 @@ // // MIT License // -// Copyright (c) 2020 micheltlutz +// Copyright (c) 2022 micheltlutz // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal @@ -36,9 +36,9 @@ public final class InputText: InputElementBase { // MARK: - Initialization /// Default initializer input text element /// - Parameters: - /// - value: This is a value for checkbox **value** `String` - /// - id: This is a id for checkbox **id** `String?` - /// - placeholder: This is a placeholder for checkbox **placeholder** `String?` + /// - value: This is a value for input **value** `String` + /// - id: This is a id for input **id** `String?` + /// - placeholder: This is a placeholder for input **placeholder** `String?` public init(_ value: String, id: String?, placeholder: String?) { super.init(value, type: "text") diff --git a/Sources/jumpper/HTML/Tags/Inputs/Radio.swift b/Sources/jumpper/HTML/Tags/Inputs/Radio.swift new file mode 100644 index 0000000..2002269 --- /dev/null +++ b/Sources/jumpper/HTML/Tags/Inputs/Radio.swift @@ -0,0 +1,53 @@ +// +// MIT License +// +// Copyright (c) 2022 micheltlutz +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. +// + +import Foundation + +/** + Class define a input type text + + ### Usage Example: ### + ```` + Radio("value", id: "nameField", name: "Name") + ```` + */ +public final class Radio: InputElementBase { + // MARK: - Initialization + /// Default initializer input radio element + /// - Parameters: + /// - value: This is a value for radio **value** `String` + /// - id: This is a id for radio **id** `String?` + /// - name: This is a name for name **name** `String?` + public init(_ value: String, id: String?, name: String?) { + super.init(value, type: "radio") + + if let id = id { + addAttribute(("id", id)) + } + + if let name = name { + addAttribute(("name", name)) + } + } +} diff --git a/Sources/jumpper/jumpper.swift b/Sources/jumpper/jumpper.swift index 6d38072..b51cb8a 100644 --- a/Sources/jumpper/jumpper.swift +++ b/Sources/jumpper/jumpper.swift @@ -1,3 +1,3 @@ struct jumpper { - var version = "0.0.6" + var version = "0.0.9" } diff --git a/Tests/LinuxMain.swift b/Tests/LinuxMain.swift index 13d534d..7924476 100644 --- a/Tests/LinuxMain.swift +++ b/Tests/LinuxMain.swift @@ -32,6 +32,7 @@ import ScriptTests import TitleTests import HeaderTests import FooterTests +import RadioTests var tests = [XCTestCaseEntry]() tests += DivTests.allTests() @@ -68,5 +69,6 @@ tests += ScriptTests.allTests() tests += TitleTests.allTests() tests += HeaderTests.allTests() tests += FooterTests.allTests() +tests += RadioTests.allTests() XCTMain(tests) diff --git a/Tests/jumpperTests/RadioTests.swift b/Tests/jumpperTests/RadioTests.swift new file mode 100644 index 0000000..de5c67e --- /dev/null +++ b/Tests/jumpperTests/RadioTests.swift @@ -0,0 +1,22 @@ +import XCTest +@testable import jumpper + +final class RadioTests: XCTestCase { + func testElement() { + let radio = Radio("option1", id: "option1", name: "option1") + + XCTAssertEqual(radio.getString(), "") + } + + func testElementAttr() { + let radio = Radio("option1", id: "option1", name: "option1") + radio.addAttribute(("class", "button button-outline") ) + + XCTAssertEqual(radio.getString(), "") + } + + static var allTests = [ + ("testElement", testElement), + ("testElementAttr", testElementAttr) + ] +} diff --git a/Tests/jumpperTests/XCTestManifests.swift b/Tests/jumpperTests/XCTestManifests.swift index f08e870..092bdd4 100644 --- a/Tests/jumpperTests/XCTestManifests.swift +++ b/Tests/jumpperTests/XCTestManifests.swift @@ -36,7 +36,8 @@ public func allTests() -> [XCTestCaseEntry] { testCase(ScriptTests.allTests), testCase(TitleTests.allTests), testCase(HeaderTests.allTests), - testCase(FooterTests.allTests) + testCase(FooterTests.allTests), + testCase(RadioTests.allTests) ] } #endif diff --git a/docs/Classes.html b/docs/Classes.html index 4da1c4e..6ba5e28 100644 --- a/docs/Classes.html +++ b/docs/Classes.html @@ -17,18 +17,18 @@
-

Docs (96% documented)

-

+

Docs (100% documented)

+
-

+
@@ -173,6 +173,9 @@ + @@ -486,8 +489,7 @@

Declaration

-

Undocumented

- + See more
@@ -1214,7 +1216,7 @@

Declaration

-

H1

+

H1

@@ -1259,7 +1261,7 @@

Declaration

-

H2

+

H2

@@ -1304,7 +1306,7 @@

Declaration

-

H3

+

H3

@@ -1349,7 +1351,7 @@

Declaration

-

H4

+

H4

@@ -1394,7 +1396,7 @@

Declaration

-

H5

+

H5

@@ -1439,7 +1441,7 @@

Declaration

-

H6

+

H6

@@ -1664,6 +1666,37 @@

Declaration

+
  • +
    + + + + Radio + +
    +
    +
    +
    +
    +
    +

    Class define a input type text

    +

    Usage Example:

    +
    Radio("value", id: "nameField", name: "Name")
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final class Radio : InputElementBase
    + +
    +
    +
    +
    +
  • @@ -2435,11 +2468,10 @@

    Declaration

    - diff --git a/docs/Classes/A.html b/docs/Classes/A.html index ae012e9..23fd6c4 100644 --- a/docs/Classes/A.html +++ b/docs/Classes/A.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@
  • + @@ -320,11 +323,10 @@

    Declaration

    - diff --git a/docs/Classes/Attribute.html b/docs/Classes/Attribute.html index be0ff07..ccaa786 100644 --- a/docs/Classes/Attribute.html +++ b/docs/Classes/Attribute.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -282,44 +285,13 @@

    Attribute

    -
    -
      -
    • -
      - - - - attributes - -
      -
      -
      -
      -
      -
      -

      Contains a array of AttributeType. Default is []

      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      private var attributes: [AttributeType]
      - -
      -
      -
      -
      -
    • -
    -
    -

    Initialization

    +

    Initialization

    @@ -378,7 +350,7 @@

    Parameters

    -

    Functions

    +

    Functions

    @@ -523,11 +495,10 @@

    Declaration

    - diff --git a/docs/Classes/Blockquote.html b/docs/Classes/Blockquote.html index 55c697a..2c0933c 100644 --- a/docs/Classes/Blockquote.html +++ b/docs/Classes/Blockquote.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -320,11 +323,10 @@

    Declaration

    - diff --git a/docs/Classes/Body.html b/docs/Classes/Body.html index 1667989..e4648eb 100644 --- a/docs/Classes/Body.html +++ b/docs/Classes/Body.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -320,11 +323,10 @@

    Declaration

    - diff --git a/docs/Classes/Br.html b/docs/Classes/Br.html index 9f037be..1c32c60 100644 --- a/docs/Classes/Br.html +++ b/docs/Classes/Br.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -319,11 +322,10 @@

    Declaration

    - diff --git a/docs/Classes/Button.html b/docs/Classes/Button.html index 15cc3fb..d8f60a4 100644 --- a/docs/Classes/Button.html +++ b/docs/Classes/Button.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -341,11 +344,10 @@

    Declaration

    - diff --git a/docs/Classes/Canvas.html b/docs/Classes/Canvas.html index 1558718..5c8ebb7 100644 --- a/docs/Classes/Canvas.html +++ b/docs/Classes/Canvas.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -316,11 +319,10 @@

    Declaration

    - diff --git a/docs/Classes/Center.html b/docs/Classes/Center.html index 3b8df28..c945429 100644 --- a/docs/Classes/Center.html +++ b/docs/Classes/Center.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -316,11 +319,10 @@

    Declaration

    - diff --git a/docs/Classes/Checkbox.html b/docs/Classes/Checkbox.html index e82c102..2addd9a 100644 --- a/docs/Classes/Checkbox.html +++ b/docs/Classes/Checkbox.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -292,7 +295,7 @@

    Checkbox

    -

    Initialization

    +

    Initialization

    @@ -360,11 +363,10 @@

    Parameters

    - diff --git a/docs/Classes/Code.html b/docs/Classes/Code.html index 371046c..418b9ce 100644 --- a/docs/Classes/Code.html +++ b/docs/Classes/Code.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -316,11 +319,10 @@

    Declaration

    - diff --git a/docs/Classes/CompositeElements.html b/docs/Classes/CompositeElements.html index d0dd4a4..27eeab6 100644 --- a/docs/Classes/CompositeElements.html +++ b/docs/Classes/CompositeElements.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -278,8 +281,7 @@

    CompositeElements

    -

    Undocumented

    - +
    @@ -297,8 +299,7 @@

    CompositeElements

    -

    Undocumented

    - +

    Declaration

    @@ -324,8 +325,7 @@

    Declaration

    -

    Undocumented

    - +

    Declaration

    @@ -447,11 +447,10 @@

    Declaration

    - diff --git a/docs/Classes/ContainerElementBase.html b/docs/Classes/ContainerElementBase.html index ec6b6a7..697ce61 100644 --- a/docs/Classes/ContainerElementBase.html +++ b/docs/Classes/ContainerElementBase.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -362,11 +365,10 @@

    Parameters

    - diff --git a/docs/Classes/DD.html b/docs/Classes/DD.html index c50c959..386fae7 100644 --- a/docs/Classes/DD.html +++ b/docs/Classes/DD.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -316,11 +319,10 @@

    Declaration

    - diff --git a/docs/Classes/DL.html b/docs/Classes/DL.html index 72a23e6..299abad 100644 --- a/docs/Classes/DL.html +++ b/docs/Classes/DL.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -369,11 +372,10 @@

    Parameters

    - diff --git a/docs/Classes/DT.html b/docs/Classes/DT.html index 5b7d315..79c145d 100644 --- a/docs/Classes/DT.html +++ b/docs/Classes/DT.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -316,11 +319,10 @@

    Declaration

    - diff --git a/docs/Classes/Div.html b/docs/Classes/Div.html index 4a1906f..b80d7ed 100644 --- a/docs/Classes/Div.html +++ b/docs/Classes/Div.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -321,11 +324,10 @@

    Declaration

    - diff --git a/docs/Classes/Doctype.html b/docs/Classes/Doctype.html index 87aa8ac..ec8e502 100644 --- a/docs/Classes/Doctype.html +++ b/docs/Classes/Doctype.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -288,33 +291,6 @@

    Usage Example:

      -
    • -
      - - - - tag - -
      -
      -
      -
      -
      -
      -

      Undocumented

      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      private let tag: String
      - -
      -
      -
      -
      -
    • @@ -328,8 +304,7 @@

      Declaration

      -

      Undocumented

      - +

      Declaration

      @@ -399,11 +374,10 @@

      Declaration

    - diff --git a/docs/Classes/Em.html b/docs/Classes/Em.html index efc097a..96e74cd 100644 --- a/docs/Classes/Em.html +++ b/docs/Classes/Em.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -320,11 +323,10 @@

    Declaration

    - diff --git a/docs/Classes/Fieldset.html b/docs/Classes/Fieldset.html index b647dd2..854555c 100644 --- a/docs/Classes/Fieldset.html +++ b/docs/Classes/Fieldset.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -404,11 +407,10 @@

    Parameters

    - diff --git a/docs/Classes/Footer.html b/docs/Classes/Footer.html index 6f6a5a2..b186c46 100644 --- a/docs/Classes/Footer.html +++ b/docs/Classes/Footer.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -320,11 +323,10 @@

    Declaration

    - diff --git a/docs/Classes/Form.html b/docs/Classes/Form.html index d083208..97cac3f 100644 --- a/docs/Classes/Form.html +++ b/docs/Classes/Form.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -407,11 +410,10 @@

    Parameters

    - diff --git a/docs/Classes/GenericElement.html b/docs/Classes/GenericElement.html index 03b9310..c747f71 100644 --- a/docs/Classes/GenericElement.html +++ b/docs/Classes/GenericElement.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -427,7 +430,7 @@

    Declaration

    -

    Initialization

    +

    Initialization

    @@ -536,7 +539,7 @@

    Parameters

    -

    Functions

    +

    Functions

    @@ -712,11 +715,10 @@

    Declaration

    - diff --git a/docs/Classes/H1.html b/docs/Classes/H1.html index dcc3a17..174361d 100644 --- a/docs/Classes/H1.html +++ b/docs/Classes/H1.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -320,11 +323,10 @@

    Declaration

    - diff --git a/docs/Classes/H2.html b/docs/Classes/H2.html index 7045d62..e20d2e5 100644 --- a/docs/Classes/H2.html +++ b/docs/Classes/H2.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -320,11 +323,10 @@

    Declaration

    - diff --git a/docs/Classes/H3.html b/docs/Classes/H3.html index 45a343e..32fd160 100644 --- a/docs/Classes/H3.html +++ b/docs/Classes/H3.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -320,11 +323,10 @@

    Declaration

    - diff --git a/docs/Classes/H4.html b/docs/Classes/H4.html index 5997c6f..204f596 100644 --- a/docs/Classes/H4.html +++ b/docs/Classes/H4.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -320,11 +323,10 @@

    Declaration

    - diff --git a/docs/Classes/H5.html b/docs/Classes/H5.html index 0f7b8b3..05d4ada 100644 --- a/docs/Classes/H5.html +++ b/docs/Classes/H5.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -320,11 +323,10 @@

    Declaration

    - diff --git a/docs/Classes/H6.html b/docs/Classes/H6.html index 8993eaf..93c60b7 100644 --- a/docs/Classes/H6.html +++ b/docs/Classes/H6.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -320,11 +323,10 @@

    Declaration

    - diff --git a/docs/Classes/Head.html b/docs/Classes/Head.html index c772c43..61f3d04 100644 --- a/docs/Classes/Head.html +++ b/docs/Classes/Head.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -320,11 +323,10 @@

    Declaration

    - diff --git a/docs/Classes/Header.html b/docs/Classes/Header.html index 71b6c20..915fba1 100644 --- a/docs/Classes/Header.html +++ b/docs/Classes/Header.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -320,11 +323,10 @@

    Declaration

    - diff --git a/docs/Classes/Hr.html b/docs/Classes/Hr.html index c7e0256..4632aca 100644 --- a/docs/Classes/Hr.html +++ b/docs/Classes/Hr.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -320,11 +323,10 @@

    Declaration

    - diff --git a/docs/Classes/Html.html b/docs/Classes/Html.html index 7d0d376..da3b4fb 100644 --- a/docs/Classes/Html.html +++ b/docs/Classes/Html.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -321,11 +324,10 @@

    Declaration

    - diff --git a/docs/Classes/Img.html b/docs/Classes/Img.html index 0fcda94..8b6e0c4 100644 --- a/docs/Classes/Img.html +++ b/docs/Classes/Img.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -323,7 +326,7 @@

    Declaration

    -

    Initialization

    +

    Initialization

    @@ -391,11 +394,10 @@

    Parameters

    - diff --git a/docs/Classes/InputElementBase.html b/docs/Classes/InputElementBase.html index e4fdfa0..03f82dc 100644 --- a/docs/Classes/InputElementBase.html +++ b/docs/Classes/InputElementBase.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -346,7 +349,7 @@

    Declaration

    -

    Initialization

    +

    Initialization

    @@ -414,11 +417,10 @@

    Parameters

    - diff --git a/docs/Classes/InputText.html b/docs/Classes/InputText.html index a6af9ee..1c45663 100644 --- a/docs/Classes/InputText.html +++ b/docs/Classes/InputText.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -292,7 +295,7 @@

    InputText

    -

    Initialization

    +

    Initialization

    @@ -333,7 +336,7 @@

    Parameters

    -

    This is a value for checkbox value String

    +

    This is a value for input value String

    @@ -345,7 +348,7 @@

    Parameters

    -

    This is a id for checkbox id String?

    +

    This is a id for input id String?

    @@ -357,7 +360,7 @@

    Parameters

    -

    This is a placeholder for checkbox placeholder String?

    +

    This is a placeholder for input placeholder String?

    @@ -372,11 +375,10 @@

    Parameters

    - diff --git a/docs/Classes/LI.html b/docs/Classes/LI.html index e793030..40b9968 100644 --- a/docs/Classes/LI.html +++ b/docs/Classes/LI.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -346,7 +349,7 @@

    Declaration

    -

    Initialization

    +

    Initialization

    @@ -402,11 +405,10 @@

    Parameters

    - diff --git a/docs/Classes/Label.html b/docs/Classes/Label.html index 9de9a66..174ffc5 100644 --- a/docs/Classes/Label.html +++ b/docs/Classes/Label.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -321,11 +324,10 @@

    Declaration

    - diff --git a/docs/Classes/Link.html b/docs/Classes/Link.html index aa34fed..cc4f282 100644 --- a/docs/Classes/Link.html +++ b/docs/Classes/Link.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -322,7 +325,7 @@

    Declaration

    -

    Initialization

    +

    Initialization

    @@ -390,11 +393,10 @@

    Parameters

    - diff --git a/docs/Classes/LinkStylesheet.html b/docs/Classes/LinkStylesheet.html index 1dbd9aa..9ff42a6 100644 --- a/docs/Classes/LinkStylesheet.html +++ b/docs/Classes/LinkStylesheet.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -291,7 +294,7 @@

    Usage Example:

    -

    Initialization

    +

    Initialization

    @@ -359,11 +362,10 @@

    Parameters

    - diff --git a/docs/Classes/Main.html b/docs/Classes/Main.html index b913e4c..8913087 100644 --- a/docs/Classes/Main.html +++ b/docs/Classes/Main.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -321,11 +324,10 @@

    Declaration

    - diff --git a/docs/Classes/Meta.html b/docs/Classes/Meta.html index 472aec5..6f2fff1 100644 --- a/docs/Classes/Meta.html +++ b/docs/Classes/Meta.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -322,7 +325,7 @@

    Declaration

    -

    Initialization

    +

    Initialization

    @@ -378,11 +381,10 @@

    Parameters

    - diff --git a/docs/Classes/OL.html b/docs/Classes/OL.html index b144c77..0895db8 100644 --- a/docs/Classes/OL.html +++ b/docs/Classes/OL.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -322,11 +325,10 @@

    Declaration

    - diff --git a/docs/Classes/Option.html b/docs/Classes/Option.html index 987e3ad..4974d24 100644 --- a/docs/Classes/Option.html +++ b/docs/Classes/Option.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -346,7 +349,7 @@

    Declaration

    -

    Initialization

    +

    Initialization

    @@ -414,11 +417,10 @@

    Parameters

    - diff --git a/docs/Classes/P.html b/docs/Classes/P.html index 50ab2d7..f2c637f 100644 --- a/docs/Classes/P.html +++ b/docs/Classes/P.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -321,11 +324,10 @@

    Declaration

    - diff --git a/docs/Classes/Pre.html b/docs/Classes/Pre.html index 62ea9e3..2a5dd63 100644 --- a/docs/Classes/Pre.html +++ b/docs/Classes/Pre.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -316,11 +319,10 @@

    Declaration

    - diff --git a/docs/Classes/Radio.html b/docs/Classes/Radio.html new file mode 100644 index 0000000..39c5588 --- /dev/null +++ b/docs/Classes/Radio.html @@ -0,0 +1,383 @@ + + + + Radio Class Reference + + + + + + + + + + + + + +
    +
    +

    Docs (100% documented)

    +
    +
    + +
    +
    +
    +
    +
    + +
    +
    + +
    +
    +
    +

    Radio

    +
    +
    + +
    public final class Radio : InputElementBase
    + +
    +
    +

    Class define a input type text

    +

    Usage Example:

    +
    Radio("value", id: "nameField", name: "Name")
    +
    + +
    +
    +
    +
    + + +
    + +

    Initialization +

    +
    +
    +
      +
    • +
      + + + + init(_:id:name:) + +
      +
      +
      +
      +
      +
      +

      Default initializer input radio element

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public init(_ value: String, id: String?, name: String?)
      + +
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + +
      + + value + + +
      +

      This is a value for radio value String

      +
      +
      + + id + + +
      +

      This is a id for radio id String?

      +
      +
      + + name + + +
      +

      This is a name for name name String?

      +
      +
      +
      +
      +
      +
    • +
    +
    +
    +
    + +
    +
    + + diff --git a/docs/Classes/Script.html b/docs/Classes/Script.html index f7d41ab..be26741 100644 --- a/docs/Classes/Script.html +++ b/docs/Classes/Script.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -395,11 +398,10 @@

    Parameters

    - diff --git a/docs/Classes/Section.html b/docs/Classes/Section.html index b78d8a6..3e72ff5 100644 --- a/docs/Classes/Section.html +++ b/docs/Classes/Section.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -321,11 +324,10 @@

    Declaration

    - diff --git a/docs/Classes/Select.html b/docs/Classes/Select.html index 1ff6f66..5273380 100644 --- a/docs/Classes/Select.html +++ b/docs/Classes/Select.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -380,7 +383,7 @@

    Declaration

    -

    Initialization

    +

    Initialization

    @@ -445,54 +448,13 @@

    Parameters

    -
    -
    - - -
    - -

    Functions

    -

    -
    -
    -
      -
    • -
      - - - - makeOptions() - -
      -
      -
      -
      -
      -
      -

      This method iterates over the list of options and creates the option element for each of the items

      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      private func makeOptions()
      - -
      -
      -
      -
      -
    • -
    -
    - diff --git a/docs/Classes/Small.html b/docs/Classes/Small.html index 3f5646f..fc6a1f0 100644 --- a/docs/Classes/Small.html +++ b/docs/Classes/Small.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -320,11 +323,10 @@

    Declaration

    - diff --git a/docs/Classes/Strong.html b/docs/Classes/Strong.html index e9e3e18..6636abb 100644 --- a/docs/Classes/Strong.html +++ b/docs/Classes/Strong.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -320,11 +323,10 @@

    Declaration

    - diff --git a/docs/Classes/Submit.html b/docs/Classes/Submit.html index 2827521..59d5207 100644 --- a/docs/Classes/Submit.html +++ b/docs/Classes/Submit.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -293,7 +296,7 @@

    Submit

    -

    Initialization

    +

    Initialization

    @@ -349,11 +352,10 @@

    Parameters

    - diff --git a/docs/Classes/TBody.html b/docs/Classes/TBody.html index b3dd44c..275141e 100644 --- a/docs/Classes/TBody.html +++ b/docs/Classes/TBody.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -316,11 +319,10 @@

    Declaration

    - diff --git a/docs/Classes/THead.html b/docs/Classes/THead.html index 16f2808..34a6468 100644 --- a/docs/Classes/THead.html +++ b/docs/Classes/THead.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -316,11 +319,10 @@

    Declaration

    - diff --git a/docs/Classes/Table.html b/docs/Classes/Table.html index 2e68d70..8573530 100644 --- a/docs/Classes/Table.html +++ b/docs/Classes/Table.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -306,87 +309,6 @@

    Table

      -
    • -
      - - - - tbody - -
      -
      -
      -
      -
      -
      -

      Object with table body. tr, td: TBody

      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      private let tbody: TBody
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - thead - -
      -
      -
      -
      -
      -
      -

      Object with table head. th, td: THead? is optional

      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      private var thead: THead?
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - rows - -
      -
      -
      -
      -
      -
      -

      List of rows a array of Trtag element

      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      private var rows: [Tr]
      - -
      -
      -
      -
      -
    • @@ -449,7 +371,7 @@

      Declaration

      -

      Functions

      +

      Functions

      @@ -711,11 +633,10 @@

      Declaration

    - diff --git a/docs/Classes/TableColumnBase.html b/docs/Classes/TableColumnBase.html index 25bf016..583b415 100644 --- a/docs/Classes/TableColumnBase.html +++ b/docs/Classes/TableColumnBase.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -344,11 +347,10 @@

    Declaration

    - diff --git a/docs/Classes/TableRowBase.html b/docs/Classes/TableRowBase.html index 19a44c1..f08755e 100644 --- a/docs/Classes/TableRowBase.html +++ b/docs/Classes/TableRowBase.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -362,11 +365,10 @@

    Parameters

    - diff --git a/docs/Classes/Td.html b/docs/Classes/Td.html index 44126f9..da12895 100644 --- a/docs/Classes/Td.html +++ b/docs/Classes/Td.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -316,11 +319,10 @@

    Declaration

    - diff --git a/docs/Classes/Text.html b/docs/Classes/Text.html index 376b778..2ed3ca3 100644 --- a/docs/Classes/Text.html +++ b/docs/Classes/Text.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -286,44 +289,13 @@

    Text

    -
    -
      -
    • -
      - - - - value - -
      -
      -
      -
      -
      -
      -

      Text value String

      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      private let value: String
      - -
      -
      -
      -
      -
    • -
    -
    -

    Initialization

    +

    Initialization

    @@ -433,11 +405,10 @@

    Declaration

    - diff --git a/docs/Classes/Textarea.html b/docs/Classes/Textarea.html index d6bed2f..f16a571 100644 --- a/docs/Classes/Textarea.html +++ b/docs/Classes/Textarea.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -394,11 +397,10 @@

    Parameters

    - diff --git a/docs/Classes/Th.html b/docs/Classes/Th.html index f8b6ee6..d479a88 100644 --- a/docs/Classes/Th.html +++ b/docs/Classes/Th.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -316,11 +319,10 @@

    Declaration

    - diff --git a/docs/Classes/Title.html b/docs/Classes/Title.html index dfaf878..9b1c183 100644 --- a/docs/Classes/Title.html +++ b/docs/Classes/Title.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -322,7 +325,7 @@

    Declaration

    -

    Initialization

    +

    Initialization

    @@ -378,11 +381,10 @@

    Parameters

    - diff --git a/docs/Classes/Tr.html b/docs/Classes/Tr.html index edb4f9e..b1522a1 100644 --- a/docs/Classes/Tr.html +++ b/docs/Classes/Tr.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -316,11 +319,10 @@

    Declaration

    - diff --git a/docs/Classes/TypographyElementBase.html b/docs/Classes/TypographyElementBase.html index 9ae25c9..7586362 100644 --- a/docs/Classes/TypographyElementBase.html +++ b/docs/Classes/TypographyElementBase.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -408,11 +411,10 @@

    Parameters

    - diff --git a/docs/Classes/U.html b/docs/Classes/U.html index 2856d5d..914d224 100644 --- a/docs/Classes/U.html +++ b/docs/Classes/U.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -320,11 +323,10 @@

    Declaration

    - diff --git a/docs/Classes/UL.html b/docs/Classes/UL.html index 6a9cdaf..f8f3625 100644 --- a/docs/Classes/UL.html +++ b/docs/Classes/UL.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -390,66 +393,15 @@

    Parameters

    -
  • -
    - - - - factoryTextWith(_:) - -
    -
    -
    -
    -
    -
    -

    This method create a Text element to user when element T String is passed on add method

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    private func factoryTextWith(_ text: String) -> Text
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - text - - -
    -

    String to create Text element

    -
    -
    -
    -
    -

    Return Value

    -

    Text Element with string passed

    -
    -
    -
    -
  • - diff --git a/docs/Protocols.html b/docs/Protocols.html index 6fa340b..78eee7a 100644 --- a/docs/Protocols.html +++ b/docs/Protocols.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -310,11 +313,10 @@

    Declaration

    - diff --git a/docs/Protocols/ElementProtocol.html b/docs/Protocols/ElementProtocol.html index b36dd0d..cdf3c3e 100644 --- a/docs/Protocols/ElementProtocol.html +++ b/docs/Protocols/ElementProtocol.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -343,11 +346,10 @@

    Declaration

    - diff --git a/docs/Structs.html b/docs/Structs.html index 98a103a..1d98a33 100644 --- a/docs/Structs.html +++ b/docs/Structs.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -290,8 +293,7 @@

    Structures

    -

    Undocumented

    - + See more
    @@ -318,8 +320,7 @@

    Declaration

    -

    Undocumented

    - + See more
    @@ -338,11 +339,10 @@

    Declaration

    - diff --git a/docs/Structs/FactoryElements.html b/docs/Structs/FactoryElements.html index 0a2d257..b0283de 100644 --- a/docs/Structs/FactoryElements.html +++ b/docs/Structs/FactoryElements.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -278,8 +281,7 @@

    FactoryElements

    -

    Undocumented

    - +
    @@ -338,11 +340,10 @@

    Return Value

    - diff --git a/docs/Structs/jumpper.html b/docs/Structs/jumpper.html index ef7f3a0..979b6d3 100644 --- a/docs/Structs/jumpper.html +++ b/docs/Structs/jumpper.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -278,8 +281,7 @@

    jumpper

    -

    Undocumented

    - +
    @@ -297,8 +299,7 @@

    jumpper

    -

    Undocumented

    - +

    Declaration

    @@ -316,11 +317,10 @@

    Declaration

    - diff --git a/docs/Typealiases.html b/docs/Typealiases.html index a4d5433..a7fcc5e 100644 --- a/docs/Typealiases.html +++ b/docs/Typealiases.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -336,11 +339,10 @@

    Declaration

    - diff --git a/docs/badge.svg b/docs/badge.svg index 7c971c6..a096fec 100644 --- a/docs/badge.svg +++ b/docs/badge.svg @@ -1,15 +1,15 @@ - + - + - - + + @@ -18,11 +18,11 @@ documentation - - 96% + + 100% - - 96% + + 100% diff --git a/docs/css/highlight.css b/docs/css/highlight.css index d0db0e1..c170357 100644 --- a/docs/css/highlight.css +++ b/docs/css/highlight.css @@ -1,200 +1,202 @@ +/*! Jazzy - https://github.com/realm/jazzy + * Copyright Realm Inc. + * SPDX-License-Identifier: MIT + */ /* Credit to https://gist.github.com/wataru420/2048287 */ -.highlight { - /* Comment */ - /* Error */ - /* Keyword */ - /* Operator */ - /* Comment.Multiline */ - /* Comment.Preproc */ - /* Comment.Single */ - /* Comment.Special */ - /* Generic.Deleted */ - /* Generic.Deleted.Specific */ - /* Generic.Emph */ - /* Generic.Error */ - /* Generic.Heading */ - /* Generic.Inserted */ - /* Generic.Inserted.Specific */ - /* Generic.Output */ - /* Generic.Prompt */ - /* Generic.Strong */ - /* Generic.Subheading */ - /* Generic.Traceback */ - /* Keyword.Constant */ - /* Keyword.Declaration */ - /* Keyword.Pseudo */ - /* Keyword.Reserved */ - /* Keyword.Type */ - /* Literal.Number */ - /* Literal.String */ - /* Name.Attribute */ - /* Name.Builtin */ - /* Name.Class */ - /* Name.Constant */ - /* Name.Entity */ - /* Name.Exception */ - /* Name.Function */ - /* Name.Namespace */ - /* Name.Tag */ - /* Name.Variable */ - /* Operator.Word */ - /* Text.Whitespace */ - /* Literal.Number.Float */ - /* Literal.Number.Hex */ - /* Literal.Number.Integer */ - /* Literal.Number.Oct */ - /* Literal.String.Backtick */ - /* Literal.String.Char */ - /* Literal.String.Doc */ - /* Literal.String.Double */ - /* Literal.String.Escape */ - /* Literal.String.Heredoc */ - /* Literal.String.Interpol */ - /* Literal.String.Other */ - /* Literal.String.Regex */ - /* Literal.String.Single */ - /* Literal.String.Symbol */ - /* Name.Builtin.Pseudo */ - /* Name.Variable.Class */ - /* Name.Variable.Global */ - /* Name.Variable.Instance */ - /* Literal.Number.Integer.Long */ } - .highlight .c { - color: #999988; - font-style: italic; } - .highlight .err { - color: #a61717; - background-color: #e3d2d2; } - .highlight .k { - color: #000000; - font-weight: bold; } - .highlight .o { - color: #000000; - font-weight: bold; } - .highlight .cm { - color: #999988; - font-style: italic; } - .highlight .cp { - color: #999999; - font-weight: bold; } - .highlight .c1 { - color: #999988; - font-style: italic; } - .highlight .cs { - color: #999999; - font-weight: bold; - font-style: italic; } - .highlight .gd { - color: #000000; - background-color: #ffdddd; } - .highlight .gd .x { - color: #000000; - background-color: #ffaaaa; } - .highlight .ge { - color: #000000; - font-style: italic; } - .highlight .gr { - color: #aa0000; } - .highlight .gh { - color: #999999; } - .highlight .gi { - color: #000000; - background-color: #ddffdd; } - .highlight .gi .x { - color: #000000; - background-color: #aaffaa; } - .highlight .go { - color: #888888; } - .highlight .gp { - color: #555555; } - .highlight .gs { - font-weight: bold; } - .highlight .gu { - color: #aaaaaa; } - .highlight .gt { - color: #aa0000; } - .highlight .kc { - color: #000000; - font-weight: bold; } - .highlight .kd { - color: #000000; - font-weight: bold; } - .highlight .kp { - color: #000000; - font-weight: bold; } - .highlight .kr { - color: #000000; - font-weight: bold; } - .highlight .kt { - color: #445588; } - .highlight .m { - color: #009999; } - .highlight .s { - color: #d14; } - .highlight .na { - color: #008080; } - .highlight .nb { - color: #0086B3; } - .highlight .nc { - color: #445588; - font-weight: bold; } - .highlight .no { - color: #008080; } - .highlight .ni { - color: #800080; } - .highlight .ne { - color: #990000; - font-weight: bold; } - .highlight .nf { - color: #990000; } - .highlight .nn { - color: #555555; } - .highlight .nt { - color: #000080; } - .highlight .nv { - color: #008080; } - .highlight .ow { - color: #000000; - font-weight: bold; } - .highlight .w { - color: #bbbbbb; } - .highlight .mf { - color: #009999; } - .highlight .mh { - color: #009999; } - .highlight .mi { - color: #009999; } - .highlight .mo { - color: #009999; } - .highlight .sb { - color: #d14; } - .highlight .sc { - color: #d14; } - .highlight .sd { - color: #d14; } - .highlight .s2 { - color: #d14; } - .highlight .se { - color: #d14; } - .highlight .sh { - color: #d14; } - .highlight .si { - color: #d14; } - .highlight .sx { - color: #d14; } - .highlight .sr { - color: #009926; } - .highlight .s1 { - color: #d14; } - .highlight .ss { - color: #990073; } - .highlight .bp { - color: #999999; } - .highlight .vc { - color: #008080; } - .highlight .vg { - color: #008080; } - .highlight .vi { - color: #008080; } - .highlight .il { - color: #009999; } +.highlight .c { + color: #999988; + font-style: italic; } + +.highlight .err { + color: #a61717; + background-color: #e3d2d2; } + +.highlight .k { + color: #000000; + font-weight: bold; } + +.highlight .o { + color: #000000; + font-weight: bold; } + +.highlight .cm { + color: #999988; + font-style: italic; } + +.highlight .cp { + color: #999999; + font-weight: bold; } + +.highlight .c1 { + color: #999988; + font-style: italic; } + +.highlight .cs { + color: #999999; + font-weight: bold; + font-style: italic; } + +.highlight .gd { + color: #000000; + background-color: #ffdddd; } + +.highlight .gd .x { + color: #000000; + background-color: #ffaaaa; } + +.highlight .ge { + color: #000000; + font-style: italic; } + +.highlight .gr { + color: #aa0000; } + +.highlight .gh { + color: #999999; } + +.highlight .gi { + color: #000000; + background-color: #ddffdd; } + +.highlight .gi .x { + color: #000000; + background-color: #aaffaa; } + +.highlight .go { + color: #888888; } + +.highlight .gp { + color: #555555; } + +.highlight .gs { + font-weight: bold; } + +.highlight .gu { + color: #aaaaaa; } + +.highlight .gt { + color: #aa0000; } + +.highlight .kc { + color: #000000; + font-weight: bold; } + +.highlight .kd { + color: #000000; + font-weight: bold; } + +.highlight .kp { + color: #000000; + font-weight: bold; } + +.highlight .kr { + color: #000000; + font-weight: bold; } + +.highlight .kt { + color: #445588; } + +.highlight .m { + color: #009999; } + +.highlight .s { + color: #d14; } + +.highlight .na { + color: #008080; } + +.highlight .nb { + color: #0086B3; } + +.highlight .nc { + color: #445588; + font-weight: bold; } + +.highlight .no { + color: #008080; } + +.highlight .ni { + color: #800080; } + +.highlight .ne { + color: #990000; + font-weight: bold; } + +.highlight .nf { + color: #990000; } + +.highlight .nn { + color: #555555; } + +.highlight .nt { + color: #000080; } + +.highlight .nv { + color: #008080; } + +.highlight .ow { + color: #000000; + font-weight: bold; } + +.highlight .w { + color: #bbbbbb; } + +.highlight .mf { + color: #009999; } + +.highlight .mh { + color: #009999; } + +.highlight .mi { + color: #009999; } + +.highlight .mo { + color: #009999; } + +.highlight .sb { + color: #d14; } + +.highlight .sc { + color: #d14; } + +.highlight .sd { + color: #d14; } + +.highlight .s2 { + color: #d14; } + +.highlight .se { + color: #d14; } + +.highlight .sh { + color: #d14; } + +.highlight .si { + color: #d14; } + +.highlight .sx { + color: #d14; } + +.highlight .sr { + color: #009926; } + +.highlight .s1 { + color: #d14; } + +.highlight .ss { + color: #990073; } + +.highlight .bp { + color: #999999; } + +.highlight .vc { + color: #008080; } + +.highlight .vg { + color: #008080; } + +.highlight .vi { + color: #008080; } + +.highlight .il { + color: #009999; } diff --git a/docs/css/jazzy.css b/docs/css/jazzy.css index 5cdffe9..2e38713 100644 --- a/docs/css/jazzy.css +++ b/docs/css/jazzy.css @@ -1,3 +1,7 @@ +/*! Jazzy - https://github.com/realm/jazzy + * Copyright Realm Inc. + * SPDX-License-Identifier: MIT + */ html, body, div, span, h1, h3, h4, p, a, code, em, img, ul, li, table, tbody, tr, td { background: transparent; border: 0; @@ -79,6 +83,18 @@ blockquote { padding: 0 10px; border-left: 4px solid #ccc; } +hr { + height: 1px; + border: none; + background-color: #e2e2e2; } + +.footnote-ref { + display: inline-block; + scroll-margin-top: 70px; } + +.footnote-def { + scroll-margin-top: 70px; } + .content-wrapper { margin: 0 auto; width: 980px; } @@ -92,7 +108,7 @@ header { z-index: 3; } header img { padding-right: 6px; - vertical-align: -4px; + vertical-align: -3px; height: 16px; } header a { color: #fff; } diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes.html index 4da1c4e..6ba5e28 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -486,8 +489,7 @@

    Declaration

    -

    Undocumented

    - + See more
    @@ -1214,7 +1216,7 @@

    Declaration

    -

    H1

    +

    H1

    @@ -1259,7 +1261,7 @@

    Declaration

    -

    H2

    +

    H2

    @@ -1304,7 +1306,7 @@

    Declaration

    -

    H3

    +

    H3

    @@ -1349,7 +1351,7 @@

    Declaration

    -

    H4

    +

    H4

    @@ -1394,7 +1396,7 @@

    Declaration

    -

    H5

    +

    H5

    @@ -1439,7 +1441,7 @@

    Declaration

    -

    H6

    +

    H6

    @@ -1664,6 +1666,37 @@

    Declaration

    +
  • +
    + + + + Radio + +
    +
    +
    +
    +
    +
    +

    Class define a input type text

    +

    Usage Example:

    +
    Radio("value", id: "nameField", name: "Name")
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public final class Radio : InputElementBase
    + +
    +
    +
    +
    +
  • @@ -2435,11 +2468,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/A.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/A.html index ae012e9..23fd6c4 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/A.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/A.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@
  • + @@ -320,11 +323,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Attribute.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Attribute.html index be0ff07..ccaa786 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Attribute.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Attribute.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -282,44 +285,13 @@

    Attribute

    -
    -
      -
    • -
      - - - - attributes - -
      -
      -
      -
      -
      -
      -

      Contains a array of AttributeType. Default is []

      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      private var attributes: [AttributeType]
      - -
      -
      -
      -
      -
    • -
    -
    -

    Initialization

    +

    Initialization

    @@ -378,7 +350,7 @@

    Parameters

    -

    Functions

    +

    Functions

    @@ -523,11 +495,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Blockquote.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Blockquote.html index 55c697a..2c0933c 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Blockquote.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Blockquote.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -320,11 +323,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Body.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Body.html index 1667989..e4648eb 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Body.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Body.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -320,11 +323,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Br.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Br.html index 9f037be..1c32c60 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Br.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Br.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -319,11 +322,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Button.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Button.html index 15cc3fb..d8f60a4 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Button.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Button.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -341,11 +344,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Canvas.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Canvas.html index 1558718..5c8ebb7 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Canvas.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Canvas.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -316,11 +319,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Center.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Center.html index 3b8df28..c945429 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Center.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Center.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -316,11 +319,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Checkbox.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Checkbox.html index e82c102..2addd9a 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Checkbox.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Checkbox.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -292,7 +295,7 @@

    Checkbox

    -

    Initialization

    +

    Initialization

    @@ -360,11 +363,10 @@

    Parameters

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Code.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Code.html index 371046c..418b9ce 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Code.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Code.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -316,11 +319,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/CompositeElements.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/CompositeElements.html index d0dd4a4..27eeab6 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/CompositeElements.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/CompositeElements.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -278,8 +281,7 @@

    CompositeElements

    -

    Undocumented

    - +
    @@ -297,8 +299,7 @@

    CompositeElements

    -

    Undocumented

    - +

    Declaration

    @@ -324,8 +325,7 @@

    Declaration

    -

    Undocumented

    - +

    Declaration

    @@ -447,11 +447,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/ContainerElementBase.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/ContainerElementBase.html index ec6b6a7..697ce61 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/ContainerElementBase.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/ContainerElementBase.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -362,11 +365,10 @@

    Parameters

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/DD.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/DD.html index c50c959..386fae7 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/DD.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/DD.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -316,11 +319,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/DL.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/DL.html index 72a23e6..299abad 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/DL.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/DL.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -369,11 +372,10 @@

    Parameters

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/DT.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/DT.html index 5b7d315..79c145d 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/DT.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/DT.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -316,11 +319,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Div.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Div.html index 4a1906f..b80d7ed 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Div.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Div.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -321,11 +324,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Doctype.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Doctype.html index 87aa8ac..ec8e502 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Doctype.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Doctype.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -288,33 +291,6 @@

    Usage Example:

      -
    • -
      - - - - tag - -
      -
      -
      -
      -
      -
      -

      Undocumented

      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      private let tag: String
      - -
      -
      -
      -
      -
    • @@ -328,8 +304,7 @@

      Declaration

      -

      Undocumented

      - +

      Declaration

      @@ -399,11 +374,10 @@

      Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Em.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Em.html index efc097a..96e74cd 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Em.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Em.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -320,11 +323,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Fieldset.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Fieldset.html index b647dd2..854555c 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Fieldset.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Fieldset.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -404,11 +407,10 @@

    Parameters

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Footer.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Footer.html index 6f6a5a2..b186c46 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Footer.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Footer.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -320,11 +323,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Form.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Form.html index d083208..97cac3f 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Form.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Form.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -407,11 +410,10 @@

    Parameters

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/GenericElement.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/GenericElement.html index 03b9310..c747f71 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/GenericElement.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/GenericElement.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -427,7 +430,7 @@

    Declaration

    -

    Initialization

    +

    Initialization

    @@ -536,7 +539,7 @@

    Parameters

    -

    Functions

    +

    Functions

    @@ -712,11 +715,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/H1.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/H1.html index dcc3a17..174361d 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/H1.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/H1.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -320,11 +323,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/H2.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/H2.html index 7045d62..e20d2e5 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/H2.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/H2.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -320,11 +323,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/H3.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/H3.html index 45a343e..32fd160 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/H3.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/H3.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -320,11 +323,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/H4.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/H4.html index 5997c6f..204f596 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/H4.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/H4.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -320,11 +323,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/H5.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/H5.html index 0f7b8b3..05d4ada 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/H5.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/H5.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -320,11 +323,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/H6.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/H6.html index 8993eaf..93c60b7 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/H6.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/H6.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -320,11 +323,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Head.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Head.html index c772c43..61f3d04 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Head.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Head.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -320,11 +323,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Header.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Header.html index 71b6c20..915fba1 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Header.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Header.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -320,11 +323,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Hr.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Hr.html index c7e0256..4632aca 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Hr.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Hr.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -320,11 +323,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Html.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Html.html index 7d0d376..da3b4fb 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Html.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Html.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -321,11 +324,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Img.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Img.html index 0fcda94..8b6e0c4 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Img.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Img.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -323,7 +326,7 @@

    Declaration

    -

    Initialization

    +

    Initialization

    @@ -391,11 +394,10 @@

    Parameters

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/InputElementBase.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/InputElementBase.html index e4fdfa0..03f82dc 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/InputElementBase.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/InputElementBase.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -346,7 +349,7 @@

    Declaration

    -

    Initialization

    +

    Initialization

    @@ -414,11 +417,10 @@

    Parameters

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/InputText.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/InputText.html index a6af9ee..1c45663 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/InputText.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/InputText.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -292,7 +295,7 @@

    InputText

    -

    Initialization

    +

    Initialization

    @@ -333,7 +336,7 @@

    Parameters

    -

    This is a value for checkbox value String

    +

    This is a value for input value String

    @@ -345,7 +348,7 @@

    Parameters

    -

    This is a id for checkbox id String?

    +

    This is a id for input id String?

    @@ -357,7 +360,7 @@

    Parameters

    -

    This is a placeholder for checkbox placeholder String?

    +

    This is a placeholder for input placeholder String?

    @@ -372,11 +375,10 @@

    Parameters

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/LI.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/LI.html index e793030..40b9968 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/LI.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/LI.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -346,7 +349,7 @@

    Declaration

    -

    Initialization

    +

    Initialization

    @@ -402,11 +405,10 @@

    Parameters

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Label.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Label.html index 9de9a66..174ffc5 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Label.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Label.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -321,11 +324,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Link.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Link.html index aa34fed..cc4f282 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Link.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Link.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -322,7 +325,7 @@

    Declaration

    -

    Initialization

    +

    Initialization

    @@ -390,11 +393,10 @@

    Parameters

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/LinkStylesheet.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/LinkStylesheet.html index 1dbd9aa..9ff42a6 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/LinkStylesheet.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/LinkStylesheet.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -291,7 +294,7 @@

    Usage Example:

    -

    Initialization

    +

    Initialization

    @@ -359,11 +362,10 @@

    Parameters

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Main.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Main.html index b913e4c..8913087 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Main.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Main.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -321,11 +324,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Meta.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Meta.html index 472aec5..6f2fff1 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Meta.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Meta.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -322,7 +325,7 @@

    Declaration

    -

    Initialization

    +

    Initialization

    @@ -378,11 +381,10 @@

    Parameters

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/OL.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/OL.html index b144c77..0895db8 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/OL.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/OL.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -322,11 +325,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Option.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Option.html index 987e3ad..4974d24 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Option.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Option.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -346,7 +349,7 @@

    Declaration

    -

    Initialization

    +

    Initialization

    @@ -414,11 +417,10 @@

    Parameters

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/P.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/P.html index 50ab2d7..f2c637f 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/P.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/P.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -321,11 +324,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Pre.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Pre.html index 62ea9e3..2a5dd63 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Pre.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Pre.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -316,11 +319,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Radio.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Radio.html new file mode 100644 index 0000000..39c5588 --- /dev/null +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Radio.html @@ -0,0 +1,383 @@ + + + + Radio Class Reference + + + + + + + + + + + + + +
    +
    +

    Docs (100% documented)

    +
    +
    + +
    +
    +
    +
    +
    + +
    +
    + +
    +
    +
    +

    Radio

    +
    +
    + +
    public final class Radio : InputElementBase
    + +
    +
    +

    Class define a input type text

    +

    Usage Example:

    +
    Radio("value", id: "nameField", name: "Name")
    +
    + +
    +
    +
    +
    + + +
    + +

    Initialization +

    +
    +
    +
      +
    • +
      + + + + init(_:id:name:) + +
      +
      +
      +
      +
      +
      +

      Default initializer input radio element

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public init(_ value: String, id: String?, name: String?)
      + +
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + +
      + + value + + +
      +

      This is a value for radio value String

      +
      +
      + + id + + +
      +

      This is a id for radio id String?

      +
      +
      + + name + + +
      +

      This is a name for name name String?

      +
      +
      +
      +
      +
      +
    • +
    +
    +
    +
    + +
    +
    + + diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Script.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Script.html index f7d41ab..be26741 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Script.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Script.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -395,11 +398,10 @@

    Parameters

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Section.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Section.html index b78d8a6..3e72ff5 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Section.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Section.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -321,11 +324,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Select.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Select.html index 1ff6f66..5273380 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Select.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Select.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -380,7 +383,7 @@

    Declaration

    -

    Initialization

    +

    Initialization

    @@ -445,54 +448,13 @@

    Parameters

    -
    -
    - - -
    - -

    Functions

    -

    -
    -
    -
      -
    • -
      - - - - makeOptions() - -
      -
      -
      -
      -
      -
      -

      This method iterates over the list of options and creates the option element for each of the items

      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      private func makeOptions()
      - -
      -
      -
      -
      -
    • -
    -
    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Small.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Small.html index 3f5646f..fc6a1f0 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Small.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Small.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -320,11 +323,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Strong.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Strong.html index e9e3e18..6636abb 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Strong.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Strong.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -320,11 +323,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Submit.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Submit.html index 2827521..59d5207 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Submit.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Submit.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -293,7 +296,7 @@

    Submit

    -

    Initialization

    +

    Initialization

    @@ -349,11 +352,10 @@

    Parameters

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/TBody.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/TBody.html index b3dd44c..275141e 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/TBody.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/TBody.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -316,11 +319,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/THead.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/THead.html index 16f2808..34a6468 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/THead.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/THead.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -316,11 +319,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Table.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Table.html index 2e68d70..8573530 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Table.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Table.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -306,87 +309,6 @@

    Table

      -
    • -
      - - - - tbody - -
      -
      -
      -
      -
      -
      -

      Object with table body. tr, td: TBody

      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      private let tbody: TBody
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - thead - -
      -
      -
      -
      -
      -
      -

      Object with table head. th, td: THead? is optional

      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      private var thead: THead?
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - rows - -
      -
      -
      -
      -
      -
      -

      List of rows a array of Trtag element

      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      private var rows: [Tr]
      - -
      -
      -
      -
      -
    • @@ -449,7 +371,7 @@

      Declaration

      -

      Functions

      +

      Functions

      @@ -711,11 +633,10 @@

      Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/TableColumnBase.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/TableColumnBase.html index 25bf016..583b415 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/TableColumnBase.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/TableColumnBase.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -344,11 +347,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/TableRowBase.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/TableRowBase.html index 19a44c1..f08755e 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/TableRowBase.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/TableRowBase.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -362,11 +365,10 @@

    Parameters

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Td.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Td.html index 44126f9..da12895 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Td.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Td.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -316,11 +319,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Text.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Text.html index 376b778..2ed3ca3 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Text.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Text.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -286,44 +289,13 @@

    Text

    -
    -
      -
    • -
      - - - - value - -
      -
      -
      -
      -
      -
      -

      Text value String

      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      private let value: String
      - -
      -
      -
      -
      -
    • -
    -
    -

    Initialization

    +

    Initialization

    @@ -433,11 +405,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Textarea.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Textarea.html index d6bed2f..f16a571 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Textarea.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Textarea.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -394,11 +397,10 @@

    Parameters

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Th.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Th.html index f8b6ee6..d479a88 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Th.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Th.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -316,11 +319,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Title.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Title.html index dfaf878..9b1c183 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Title.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Title.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -322,7 +325,7 @@

    Declaration

    -

    Initialization

    +

    Initialization

    @@ -378,11 +381,10 @@

    Parameters

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Tr.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Tr.html index edb4f9e..b1522a1 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Tr.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Tr.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -316,11 +319,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/TypographyElementBase.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/TypographyElementBase.html index 9ae25c9..7586362 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/TypographyElementBase.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/TypographyElementBase.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -408,11 +411,10 @@

    Parameters

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/U.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/U.html index 2856d5d..914d224 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/U.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/U.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -320,11 +323,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/UL.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/UL.html index 6a9cdaf..f8f3625 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/UL.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/UL.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -390,66 +393,15 @@

    Parameters

    -
  • -
    - - - - factoryTextWith(_:) - -
    -
    -
    -
    -
    -
    -

    This method create a Text element to user when element T String is passed on add method

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    private func factoryTextWith(_ text: String) -> Text
    - -
    -
    -
    -

    Parameters

    - - - - - - - -
    - - text - - -
    -

    String to create Text element

    -
    -
    -
    -
    -

    Return Value

    -

    Text Element with string passed

    -
    -
    -
    -
  • - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Protocols.html b/docs/docsets/.docset/Contents/Resources/Documents/Protocols.html index 6fa340b..78eee7a 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Protocols.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Protocols.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -310,11 +313,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Protocols/ElementProtocol.html b/docs/docsets/.docset/Contents/Resources/Documents/Protocols/ElementProtocol.html index b36dd0d..cdf3c3e 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Protocols/ElementProtocol.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Protocols/ElementProtocol.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -343,11 +346,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Structs.html b/docs/docsets/.docset/Contents/Resources/Documents/Structs.html index 98a103a..1d98a33 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Structs.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Structs.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -290,8 +293,7 @@

    Structures

    -

    Undocumented

    - + See more
    @@ -318,8 +320,7 @@

    Declaration

    -

    Undocumented

    - + See more
    @@ -338,11 +339,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Structs/FactoryElements.html b/docs/docsets/.docset/Contents/Resources/Documents/Structs/FactoryElements.html index 0a2d257..b0283de 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Structs/FactoryElements.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Structs/FactoryElements.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -278,8 +281,7 @@

    FactoryElements

    -

    Undocumented

    - +
    @@ -338,11 +340,10 @@

    Return Value

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Structs/jumpper.html b/docs/docsets/.docset/Contents/Resources/Documents/Structs/jumpper.html index ef7f3a0..979b6d3 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Structs/jumpper.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Structs/jumpper.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -278,8 +281,7 @@

    jumpper

    -

    Undocumented

    - +
    @@ -297,8 +299,7 @@

    jumpper

    -

    Undocumented

    - +

    Declaration

    @@ -316,11 +317,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Typealiases.html b/docs/docsets/.docset/Contents/Resources/Documents/Typealiases.html index a4d5433..a7fcc5e 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Typealiases.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Typealiases.html @@ -17,18 +17,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -173,6 +173,9 @@ + @@ -336,11 +339,10 @@

    Declaration

    - diff --git a/docs/docsets/.docset/Contents/Resources/Documents/badge.svg b/docs/docsets/.docset/Contents/Resources/Documents/badge.svg index 5f56a7e..7c971c6 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/badge.svg +++ b/docs/docsets/.docset/Contents/Resources/Documents/badge.svg @@ -19,10 +19,10 @@ documentation - 97% + 96% - 97% + 96% diff --git a/docs/docsets/.docset/Contents/Resources/Documents/css/highlight.css b/docs/docsets/.docset/Contents/Resources/Documents/css/highlight.css index d0db0e1..c170357 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/css/highlight.css +++ b/docs/docsets/.docset/Contents/Resources/Documents/css/highlight.css @@ -1,200 +1,202 @@ +/*! Jazzy - https://github.com/realm/jazzy + * Copyright Realm Inc. + * SPDX-License-Identifier: MIT + */ /* Credit to https://gist.github.com/wataru420/2048287 */ -.highlight { - /* Comment */ - /* Error */ - /* Keyword */ - /* Operator */ - /* Comment.Multiline */ - /* Comment.Preproc */ - /* Comment.Single */ - /* Comment.Special */ - /* Generic.Deleted */ - /* Generic.Deleted.Specific */ - /* Generic.Emph */ - /* Generic.Error */ - /* Generic.Heading */ - /* Generic.Inserted */ - /* Generic.Inserted.Specific */ - /* Generic.Output */ - /* Generic.Prompt */ - /* Generic.Strong */ - /* Generic.Subheading */ - /* Generic.Traceback */ - /* Keyword.Constant */ - /* Keyword.Declaration */ - /* Keyword.Pseudo */ - /* Keyword.Reserved */ - /* Keyword.Type */ - /* Literal.Number */ - /* Literal.String */ - /* Name.Attribute */ - /* Name.Builtin */ - /* Name.Class */ - /* Name.Constant */ - /* Name.Entity */ - /* Name.Exception */ - /* Name.Function */ - /* Name.Namespace */ - /* Name.Tag */ - /* Name.Variable */ - /* Operator.Word */ - /* Text.Whitespace */ - /* Literal.Number.Float */ - /* Literal.Number.Hex */ - /* Literal.Number.Integer */ - /* Literal.Number.Oct */ - /* Literal.String.Backtick */ - /* Literal.String.Char */ - /* Literal.String.Doc */ - /* Literal.String.Double */ - /* Literal.String.Escape */ - /* Literal.String.Heredoc */ - /* Literal.String.Interpol */ - /* Literal.String.Other */ - /* Literal.String.Regex */ - /* Literal.String.Single */ - /* Literal.String.Symbol */ - /* Name.Builtin.Pseudo */ - /* Name.Variable.Class */ - /* Name.Variable.Global */ - /* Name.Variable.Instance */ - /* Literal.Number.Integer.Long */ } - .highlight .c { - color: #999988; - font-style: italic; } - .highlight .err { - color: #a61717; - background-color: #e3d2d2; } - .highlight .k { - color: #000000; - font-weight: bold; } - .highlight .o { - color: #000000; - font-weight: bold; } - .highlight .cm { - color: #999988; - font-style: italic; } - .highlight .cp { - color: #999999; - font-weight: bold; } - .highlight .c1 { - color: #999988; - font-style: italic; } - .highlight .cs { - color: #999999; - font-weight: bold; - font-style: italic; } - .highlight .gd { - color: #000000; - background-color: #ffdddd; } - .highlight .gd .x { - color: #000000; - background-color: #ffaaaa; } - .highlight .ge { - color: #000000; - font-style: italic; } - .highlight .gr { - color: #aa0000; } - .highlight .gh { - color: #999999; } - .highlight .gi { - color: #000000; - background-color: #ddffdd; } - .highlight .gi .x { - color: #000000; - background-color: #aaffaa; } - .highlight .go { - color: #888888; } - .highlight .gp { - color: #555555; } - .highlight .gs { - font-weight: bold; } - .highlight .gu { - color: #aaaaaa; } - .highlight .gt { - color: #aa0000; } - .highlight .kc { - color: #000000; - font-weight: bold; } - .highlight .kd { - color: #000000; - font-weight: bold; } - .highlight .kp { - color: #000000; - font-weight: bold; } - .highlight .kr { - color: #000000; - font-weight: bold; } - .highlight .kt { - color: #445588; } - .highlight .m { - color: #009999; } - .highlight .s { - color: #d14; } - .highlight .na { - color: #008080; } - .highlight .nb { - color: #0086B3; } - .highlight .nc { - color: #445588; - font-weight: bold; } - .highlight .no { - color: #008080; } - .highlight .ni { - color: #800080; } - .highlight .ne { - color: #990000; - font-weight: bold; } - .highlight .nf { - color: #990000; } - .highlight .nn { - color: #555555; } - .highlight .nt { - color: #000080; } - .highlight .nv { - color: #008080; } - .highlight .ow { - color: #000000; - font-weight: bold; } - .highlight .w { - color: #bbbbbb; } - .highlight .mf { - color: #009999; } - .highlight .mh { - color: #009999; } - .highlight .mi { - color: #009999; } - .highlight .mo { - color: #009999; } - .highlight .sb { - color: #d14; } - .highlight .sc { - color: #d14; } - .highlight .sd { - color: #d14; } - .highlight .s2 { - color: #d14; } - .highlight .se { - color: #d14; } - .highlight .sh { - color: #d14; } - .highlight .si { - color: #d14; } - .highlight .sx { - color: #d14; } - .highlight .sr { - color: #009926; } - .highlight .s1 { - color: #d14; } - .highlight .ss { - color: #990073; } - .highlight .bp { - color: #999999; } - .highlight .vc { - color: #008080; } - .highlight .vg { - color: #008080; } - .highlight .vi { - color: #008080; } - .highlight .il { - color: #009999; } +.highlight .c { + color: #999988; + font-style: italic; } + +.highlight .err { + color: #a61717; + background-color: #e3d2d2; } + +.highlight .k { + color: #000000; + font-weight: bold; } + +.highlight .o { + color: #000000; + font-weight: bold; } + +.highlight .cm { + color: #999988; + font-style: italic; } + +.highlight .cp { + color: #999999; + font-weight: bold; } + +.highlight .c1 { + color: #999988; + font-style: italic; } + +.highlight .cs { + color: #999999; + font-weight: bold; + font-style: italic; } + +.highlight .gd { + color: #000000; + background-color: #ffdddd; } + +.highlight .gd .x { + color: #000000; + background-color: #ffaaaa; } + +.highlight .ge { + color: #000000; + font-style: italic; } + +.highlight .gr { + color: #aa0000; } + +.highlight .gh { + color: #999999; } + +.highlight .gi { + color: #000000; + background-color: #ddffdd; } + +.highlight .gi .x { + color: #000000; + background-color: #aaffaa; } + +.highlight .go { + color: #888888; } + +.highlight .gp { + color: #555555; } + +.highlight .gs { + font-weight: bold; } + +.highlight .gu { + color: #aaaaaa; } + +.highlight .gt { + color: #aa0000; } + +.highlight .kc { + color: #000000; + font-weight: bold; } + +.highlight .kd { + color: #000000; + font-weight: bold; } + +.highlight .kp { + color: #000000; + font-weight: bold; } + +.highlight .kr { + color: #000000; + font-weight: bold; } + +.highlight .kt { + color: #445588; } + +.highlight .m { + color: #009999; } + +.highlight .s { + color: #d14; } + +.highlight .na { + color: #008080; } + +.highlight .nb { + color: #0086B3; } + +.highlight .nc { + color: #445588; + font-weight: bold; } + +.highlight .no { + color: #008080; } + +.highlight .ni { + color: #800080; } + +.highlight .ne { + color: #990000; + font-weight: bold; } + +.highlight .nf { + color: #990000; } + +.highlight .nn { + color: #555555; } + +.highlight .nt { + color: #000080; } + +.highlight .nv { + color: #008080; } + +.highlight .ow { + color: #000000; + font-weight: bold; } + +.highlight .w { + color: #bbbbbb; } + +.highlight .mf { + color: #009999; } + +.highlight .mh { + color: #009999; } + +.highlight .mi { + color: #009999; } + +.highlight .mo { + color: #009999; } + +.highlight .sb { + color: #d14; } + +.highlight .sc { + color: #d14; } + +.highlight .sd { + color: #d14; } + +.highlight .s2 { + color: #d14; } + +.highlight .se { + color: #d14; } + +.highlight .sh { + color: #d14; } + +.highlight .si { + color: #d14; } + +.highlight .sx { + color: #d14; } + +.highlight .sr { + color: #009926; } + +.highlight .s1 { + color: #d14; } + +.highlight .ss { + color: #990073; } + +.highlight .bp { + color: #999999; } + +.highlight .vc { + color: #008080; } + +.highlight .vg { + color: #008080; } + +.highlight .vi { + color: #008080; } + +.highlight .il { + color: #009999; } diff --git a/docs/docsets/.docset/Contents/Resources/Documents/css/jazzy.css b/docs/docsets/.docset/Contents/Resources/Documents/css/jazzy.css index 5cdffe9..2e38713 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/css/jazzy.css +++ b/docs/docsets/.docset/Contents/Resources/Documents/css/jazzy.css @@ -1,3 +1,7 @@ +/*! Jazzy - https://github.com/realm/jazzy + * Copyright Realm Inc. + * SPDX-License-Identifier: MIT + */ html, body, div, span, h1, h3, h4, p, a, code, em, img, ul, li, table, tbody, tr, td { background: transparent; border: 0; @@ -79,6 +83,18 @@ blockquote { padding: 0 10px; border-left: 4px solid #ccc; } +hr { + height: 1px; + border: none; + background-color: #e2e2e2; } + +.footnote-ref { + display: inline-block; + scroll-margin-top: 70px; } + +.footnote-def { + scroll-margin-top: 70px; } + .content-wrapper { margin: 0 auto; width: 980px; } @@ -92,7 +108,7 @@ header { z-index: 3; } header img { padding-right: 6px; - vertical-align: -4px; + vertical-align: -3px; height: 16px; } header a { color: #fff; } diff --git a/docs/docsets/.docset/Contents/Resources/Documents/index.html b/docs/docsets/.docset/Contents/Resources/Documents/index.html index 6ff63b4..e0692a1 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/index.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/index.html @@ -16,18 +16,18 @@
    -

    Docs (96% documented)

    -

    +

    Docs (100% documented)

    +
    -

    +
    @@ -172,6 +172,9 @@ + @@ -316,12 +319,40 @@

    Documentation

    -

    Vapor usage

    +

    Using in Package.swift

    +
    // swift-tools-version:5.6
    +import PackageDescription
     
    -
    -

    Need Leaf installed

    -
    +let package = Package( + name: "assessment", + platforms: [ + .macOS(.v12) + ], + dependencies: [ + .package(url: "https://github.com/vapor/vapor.git", from: "4.0.0"), + .package(url: "https://github.com/jumpper/jumpper.git", from: "0.0.9") + ], + targets: [ + .target( + name: "App", + dependencies: [ + .product(name: "Vapor", package: "vapor"), + .product(name: "jumpper", package: "jumpper") + ] + ), + .executableTarget(name: "Run", dependencies: [.target(name: "App")]), + .testTarget(name: "AppTests", dependencies: [ + .target(name: "App"), + .product(name: "XCTVapor", package: "vapor"), + ]) + ] +) +
    +

    Vapor usage

    +

    Need Leaf installed

    import jumpper
    +import Leaf
    +import Vapor
     
     router.get { req -> Future<View> in
          let div = Div()
    @@ -329,6 +360,27 @@ 

    Vapor usage

    return try req.view().render("base", ["title": "Hello jumpper", "body": div.getString()]) }
    +

    Without Leaf

    +
    import jumpper
    +import Vapor
    +
    +
    +protocol JumpperPageProtocol {
    +    func render() throws -> EventLoopFuture<Response>
    +}
    +
    +public final class IndexPage: JumpperPageProtocol {
    +    // MARK: - Render
    +
    +    public func render() throws -> EventLoopFuture<Response> {
    +        let response = Response()
    +
    +        let divC = Div()
    +        response.body = .init(string: divC.getString())
    +        return response.encodeResponse(status: .ok, headers: HTTPHeaders.init([("Content-Type", "text/html; charset=UTF-8")]), for: request)
    +    }
    +}
    +

    jumpper vapor project demo