@a2000/text-field
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

Text Field

Renders a text field with a windows 2000 flavour

Usage

  1. Begin by installing with your favourite package manager:

npm install @a2000/text-field

  1. Use within your HTML templates as follows:
<!DOCTYPE html>
<html>
  <head>
    <title>Quick Start</title>
    <meta charset="UTF-8" />
  </head>

  <body>
    <!-- Use web components in your HTML like regular built-in elements. -->
    <form>
      <a2k-text-field name="demo"></a2k-text-field>
    </form>

    <!-- a2k web components use standard JavaScript modules. -->
    <script type="module">
      import "@a2000/text-field/a2k-text-field.js";
    </script>
  </body>
</html>

API

Properties

Name Type Default Value Details
name string - The name for the input control. It's submitted along with the control's value when the data is submitted

Readme

Keywords

none

Package Sidebar

Install

npm i @a2000/text-field

Weekly Downloads

8

Version

0.0.5

License

MIT

Unpacked Size

53.3 kB

Total Files

21

Last publish

Collaborators

  • andrico1234