Skip to content

Instantly share code, notes, and snippets.

{
"id" : 27132,
"main" : {
"title" : "rrrrr",
"hint" : "eeee",
"body" : "",
"notes" : "",
"lang" : "en",
"city" : {
"id" : "1",
export class MychartComponent implements AfterViewInit, OnDestroy {
chart: Highcharts.ChartObject;
@Input() options;
constructor(private el: ElementRef) { }
ngAfterViewInit() {
this.chart = chart(this.el.nativeElement, this.options);
}
ngOnDestroy() {
this.chart = null;
}
http://localhost:9003/api/backend/crud/apartment/general/en
{
"id" : null,
"main" : {
"title" : null,
"hint" : null,
"body" : null,
"notes" : null,
"lang" : "en"
http://localhost:9003/api/backend/crud/apartment/general/en
{
"id" : null,
"main" : {
"title" : null,
"hint" : null,
"body" : null,
"notes" : null,
"lang" : "en"
http://localhost:9003/api/backend/crud/apartment/condition/en/26847
{
"id" : 26847,
"lang" : "en",
"body" : null
}
http://localhost:9003/api/backend/crud/apartment/facilities/en/26847
[ {
"id" : 37,
"name" : "Air-conditioning",
"value" : 0,
"icon" : ""
}, {
"id" : 12,
"name" : "Assistance 24/7",
http://localhost:9003/api/backend/crud/apartment/general/en
{
"id" : null,
"main" : {
"title" : null,
"hint" : null,
"body" : null,
"notes" : null,
"lang" : "en"
[{
"key": "firstName",
"type": "input",
"templateOptions": {
"label": "First Name",
"placeholder": "Enter your first name",
"required": true
}
},
{
[{
"id": string|integer,
"name": string
}]
[{
"id": string,
"name": string,
"description":string,
"dueDate": "2017-12-11 10:11",
"createDate": "2017-12-11 10:11",
"assignee": string,
"type": string
}]