2.2.1 • Published 1 year ago

sdk-viewer v2.2.1

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Description:

The sdk-viewer component is used for viewing text, such as JSON and arrays, with a 'copy to clipboard' feature.

INSTALLATION:

Using NPM:

npm install --save sdk-viewer

CONFIGURATION:

To configure the sdk-viewer for your application, add the following lines to your app.module.ts file:

import { SDKViewerModule } from 'sdk-viewer';

@NgModule({
    imports: [
        SDKViewerModule
    ]
})
export class AppModule { }

PROPERTIES:

  • (any): Text to display (e.g., JSON, array, etc).
  • font (string): The font family to use. Default: 'Courier New', Courier, monospace.
  • color (string): The color of the text. Default: white.
  • background (string): The background color of the viewer. Default: black.
  • bashowLineNumbers (boolean): Show line numbers to the left of the content. Default: true.

USAGE:

<sdk-viewer [text]="text"></sdk-viewer>
2.2.1

1 year ago

2.2.0

1 year ago

2.1.1

1 year ago

2.1.0

1 year ago

2.0.0

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago