Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools oft miss.
ngxm-input
Advanced tools
NgxmInput - simplify, open-source input component for Angular.
See demo page.
##Features
##Getting started
###Step 1: Install:
NPM
npm i --save ngxm-input
###Step 2: Import the NgxmInputModule and angular FormsModule module:
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { NgxmInputModule } from '../../../ngxm-input/src/lib/ngxm-input.module';
@NgModule({
declarations: [AppComponent],
imports: [
BrowserModule,
BrowserAnimationsModule,
ReactiveFormsModule,
NgxmInputModule,
FormsModule,
],
bootstrap: [AppComponent],
})
export class AppModule {}
Usage
<form [formGroup]="form" class="demo-box">
<h1>Example</h1>
<ngmx-input
[label]="'Demo input'"
[formControlName]="'testControl'"
>
</ngmx-input>
</form>
Input | Type | Default | Required | Description |
---|---|---|---|---|
[type] | text, number, password, search | text | no | Type input |
[label] | string | null | no | Label for input |
[pattern] | string, RegExp | null | no | Pattern validation |
[enableLoop] | boolean | false | no | Loop icon for search type input |
[enableEye] | boolean | false | no | Eye icon logic for password type input |
[error] | string | null | no | Error text |
[required] | boolean | false | no | Required attribute and show * in label flag |
[description] | string | null | no | Description text |
[formControlName] | string | null | no | Control form angular |
[placeholder] | string | null | no | Placeholder text |
[maxLength] | number | null | no | Max-length parameter |
[disableErrorMessage] | boolean | false | no | Show/hide error message flag |
FAQs
NgxmInput - simplify, open-source input component for Angular.
The npm package ngxm-input receives a total of 0 weekly downloads. As such, ngxm-input popularity was classified as not popular.
We found that ngxm-input demonstrated a not healthy version release cadence and project activity because the last version was released 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 News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools oft miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.