You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
connect-admin/src/app/pages/customization/background.component.ts

34 lines
669 B
TypeScript

import {Component, Input, OnInit} from '@angular/core';
import {properties} from '../../../environments/environment';
declare var UIkit;
@Component({
selector: 'background',
template: `
<color [color]="background.color"
[label]="label" [light]="light"
(colorChange)=
" background.color = $event;"></color>
`
})
export class BackgroundComponent implements OnInit {
@Input() label:string = "";
@Input() background;
@Input() oldBackground;
@Input() light:boolean;
@Input() communityId:string = "";
public file: File;
properties;
constructor() {
}
ngOnInit() {
this.properties = properties;
}
}