1.0.2 • Published 7 months ago
calclator v1.0.2
Calculator
This library was generated with Angular CLI version 12.0.5.
It is simple calculator for simple mathematical calculation
Installation
To install the Calculator component, use the following command:
npm install calclator
USAGE
1. Import the CalclatorModule into your Angular module (e.g., app.module.ts):
#module.ts
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { CalclatorModule } from 'calclator';
import { AppComponent } from './app.component';
@NgModule({
declarations: [AppComponent],
imports: [BrowserModule, CalclatorModule],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule {}
2. Use the below element in your template to display the calculator component:
#app-component.html
<lib-calclator></lib-calclator>
3. Run your Angular application using ng serve and access the calculator component in your browser.
Note:
This is a simple calculator component designed for simple mathematical calculation.