
Security Fundamentals
Obfuscation 101: Unmasking the Tricks Behind Malicious Code
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
angular-weblineindia-currency-input
Advanced tools
An Angular-based currency input component for adding currency field.
An Angular-based currency input component for adding currency field.
![]() | ![]() | ![]() | ![]() | ![]() |
---|---|---|---|---|
83.0 ✔ | 77.0 ✔ | 13.1.1 ✔ | 83.0 ✔ | 11.9 ✔ |
Install the npm package:
npm install angular-weblineindia-currency-input
#OR
yarn add angular-weblineindia-currency-input
Use the <angular-weblineindia-currency-input>
component:
Add in app.module.ts file
import { NgModule } from "@angular/core";
import { AngularWeblineindiaCurrencyInputModule } from "angular-weblineindia-currency-input";
@NgModule({
imports: [AngularWeblineindiaCurrencyInputModule],
})
export class AppModule {}
Add in app.component.ts file
export class AppComponent {
constructor() {}
isInvalidPhoneNumber: boolean = false;
invalidMessage: string = "onFocusHandler(event: any): void";
onFocusHandler(event: any): void {
console.log("onFocusHandler: ", event.target.value);
}
onBlurHandler(event: any): void {
console.log("onBlurHandler: ", event.target.value);
}
onChangeHandler(event: any): void {
console.log("onChangeHandler: ", event.target.value);
}
onKeyPressHandler(event: any): void {
console.log("onKeyPressHandler: ", event.target.value);
}
onKeyDownHandler(event: any): void {
console.log("onKeyDownHandler: ", event.target.value);
}
onKeyUpHandler(event: any): void {
console.log("onKeyUpHandler: ", event.target.value);
}
}
Add in app.component.html file
<angular-weblineindia-currency-input
name="myInputName"
[value]="203000.45"
classname="currency-input"
errorClass="errorMessage"
placeholder="Enter amount here"
[disabled]="true"
[required]="false"
[prefix]="'$Rs'"
[isInvalidPhoneNumber]="isInvalidPhoneNumber"
[invalidMessage]="invalidMessage"
(focus)="onFocusHandler($event)"
(blur)="onBlurHandler($event)"
(change)="onChangeHandler($event)"
(keyPress)="onKeyPressHandler($event)"
(keyDown)="onKeyDownHandler($event)"
(keyUp)="onKeyUpHandler($event)"
>
</angular-weblineindia-currency-input>
Add in app.component.css file
::ng-deep .currency-input {
}
::ng-deep .errorClass {
color: RED;
margin: 0;
}
Prop | Type | default | Description |
---|---|---|---|
name | String | Name for the input | |
value | String | Initial value of input | |
classname | String | false | CSS class applied for curency input. |
errorClass | String | CSS class applied for error message | |
placeholder | String | The input field will get this placeholder text | |
required | boolean | false | If true, makes the input field mandatory. |
disabled | boolean | false | If true, disables the input field. |
prefix | String | To set currency type | |
isInvalidPassword | boolean | false | Indicates if the currency is invalid |
invalidMessage | String | Message to display when the currncy is invalid |
Name | Description |
---|---|
focus | Gets triggered when the autocomplete input field receives focus. |
blur | Gets triggered when the autocomplete input field loses focus. |
keyPress | Gets triggered when a key gets pressed. |
keyDown | Gets triggered when a key gets down. |
keyUp | Gets triggered when a key gets up. |
We have built many other components and free resources for software development in various programming languages. Kindly click here to view our Free Resources for Software Development
Detailed changes for each release are documented in CHANGELOG.md.
angular-weblineindia-currency-input, currencyInput, input, angular, angular-component, currencyInput-component, currencyInput-box
FAQs
An Angular-based currency input component for adding currency field.
The npm package angular-weblineindia-currency-input receives a total of 2 weekly downloads. As such, angular-weblineindia-currency-input popularity was classified as not popular.
We found that angular-weblineindia-currency-input demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
Security News
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.
Security News
Biome's v2.0 beta introduces custom plugins, domain-specific linting, and type-aware rules while laying groundwork for HTML support and embedded language features in 2025.