2.1.1 • Published 1 month ago

sdk-viewer v2.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
1 month 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.1.1

1 month ago

2.1.0

1 month ago

2.0.0

1 month ago

1.0.14

3 months ago

1.0.13

4 months ago

1.0.11

5 months ago

1.0.10

6 months ago

1.0.9

9 months ago

1.0.8

12 months ago

1.0.7

12 months ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago