1.0.2 • Published 6 years ago
verbatim-explain v1.0.2
verbatim-explain
Angular component to make GET request with query json OR by set attribute with a text and returned data verbatim.

Installation
npm i verbatim-explainOnce installed you need to import our main module:
import { VerbatimExplainModule } from 'verbatim-explain';
@NgModule({
...
imports: [VerbatimExplainModule, ...],
...
})
export class YourAppModule {
}Usage
<lib-verbatim-explain
[apiEndpoint]="String | required"
[displayEntryInput]="Boolean | optional"
[queriesJson]="json | optional"
[supportExchanges]="String | optional"
[title]="String | optional"
[answer]="String | optional"
[description]="String | optional"
[listFieldParserPredict]="Array | required"
></lib-verbatim-explain>| Attributes | Type | Description | Example |
|---|---|---|---|
| apiEndpoint | String : Required | Api url for backend server | |
| displayEntryInput | Boolean : Optional | default : true, show/hide input to entry json verbatim | |
| queriesJson | Json : Optional | {instances : {id:'1', title: '..', description: '..', answer: '..', supportExchanges: '..'}} | |
| title | String : Optional | can added it if queries_examples not used | |
| answer | String : Optional | can added it if queries_examples not used | |
| description | String : Optional | can added it if queries_examples not used | |
| supportExchanges | String : Optional | can added it if queries_examples not used | |
| listFieldParserPredict | Array : Required | Array contain list of field parsed from verbatim | 'title', 'description', ... |