1.0.1 • Published 3 years ago

@fotihose/icon-input v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Icon input

This component is part of the Fotihose network, which is a network of standalone components.

Description

A simple component for adding an icon to an input element

Installation

npm i @fotihose/icon-input -S

Usage

  <fih-icon-input [disabled]="false"
                  iconPath="assets/images/my.svg"
                  iconPosition="right"
                  [iconSize]="20"
                  [processing]="false">
        <input />
  </fih-icon-input>

Inputs

InputTypeDefaultDescription
disabledbooleanfalseIf the input is disabled or not
iconPathstring-The path for the icon to display
iconPositionstringrightright / left
iconSizenumber15Size of the icon (px)
processingbooleanfalseIf the input is "processing". Will disable input and click event

Outputs

OutputTypeDescription
clickedbooleanEvent when the icon is clicked

License

MIT

Change log

1.0.1

  • Fixing bad build

1.0.0

  • First release
1.0.3-rc.6

3 years ago

1.0.3-rc.5

3 years ago

1.0.3-rc.4

3 years ago

1.0.3-rc.3

3 years ago

1.0.3-rc.2

3 years ago

1.0.3-rc.1

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

1.0.0-rc.1

3 years ago