UNPKG

loop-modules

Version:

Shared modules for the Loop product suite.

25 lines (24 loc) 716 B
import { OnInit } from '@angular/core'; import { BrandService } from '../services/index'; /** * Handles branding an application with style injection * Example usage: <div branding></div> * @author Sean Perkins <sean@meetmaestro.com> * @export * @class BrandingDirective * @implements {OnInit} */ export declare class BrandingDirective implements OnInit { private brand; private _styles; constructor(brand: BrandService); ngOnInit(): void; /** * Converts a JS object into a CSS string block * * @private * @param {*} styleObj The style object to convert to css * @returns Prettified CSS string for injection into a style tag */ private cssify(styleObj); }