loop-modules
Version:
Shared modules for the Loop product suite.
32 lines (31 loc) • 809 B
TypeScript
import { Http } from '@angular/http';
import 'rxjs/add/operator/map';
import { Observable } from 'rxjs/Observable';
/**
* Service reponsible for managing the company's primary brand color
* @author Sean Perkins <sean@meetmaestro.com | sean-perkins>
*
* @export
* @class BrandService
*/
export declare class BrandService {
private http;
private static DEFAULT_BRAND_COLOR;
private brandColor;
constructor(http: Http);
/**
* Sets the primary brand color from the backend-server
*
* @returns {Observable<any>} Observable of the loaded brand color
*
* @memberOf BrandService
*/
setBrand(): Observable<any>;
/**
* Returns the organization's brand primary color
*
* @readonly
* @type {string}
*/
readonly color: string;
}