0.0.6 • Published 4 years ago
explane-suite v0.0.6
explane-suite
Angular component to make GET request with query param with a text and returned data (title, answer and paragraph).
Installation
npm i explane-suite
Once installed you need to import our main module:
import { ExplaneSuiteModule } from 'explane-suite';
@NgModule({
...
imports: [ExplaneSuiteModule, ...],
...
})
export class YourAppModule {
}
Usage
<lib-explane-suite
[api_endpoint]="String | required"
[queries_examples]="json | optional"
[supportExchanges]="String | optional"
[title]="String | optional"
[answer]="String | optional"
[description]="String | optional"
></lib-explane-suite>
Attributes | Type | Description |
---|---|---|
api_endpoint | Required: String | Api url for backend server |
queries_examples | Optional: Json | {instances : {id:'1', title: '..', description: '..', answer: '..', supportExchanges: '..'}} |
title | Optional: String | can added it if queries_examples not used |
answer | Optional: String | can added it if queries_examples not used |
description | Optional: String | can added it if queries_examples not used |
supportExchanges | Optional: String | can added it if queries_examples not used |