kebs-notes-tab
v0.0.7
Published
The `kebs-notes-tab` is used to for basic notes operations such as create note, edit note, delete note and update note provided token and url.
Downloads
12
Readme
kebsNotesTab
The kebs-notes-tab
is used to for basic notes operations such as create note, edit note, delete note and
update note provided token and url.
Table of Contents
Installation
You can install the package using following command.
$ npm install kebs-notes-tab
Usage
app.module.ts
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { KebsNotesTabModule } from 'kebs-notes-tab'
@NgModule({
declarations: [
AppComponent
],
imports: [
CommonModule,
KebsNotesTabModule
],
providers: [],
})
export class AppModule { }
app.component.html
<kebs-notes-tab
[itemId]="uniqueItemId" [token]="token" [url]="itemData">
</kebs-notes-tab>
app.component.ts
token = "eyJ0eXAiOiJKV1QiL";
url ="/urlPath";
itemId = 3421
Inputs
|Property|Type|Description
|---|---|---
|url|string
|Url to be loaded
|token|string
|Bearer token
|itemId|int
|unique item id in which notes are stored