websetup/ts/index.ts

23 lines
458 B
TypeScript
Raw Normal View History

2018-12-27 23:23:13 +00:00
import * as plugins from './websetup.plugins';
2019-03-25 14:57:38 +00:00
import { setupGoogleAnalytics } from './tools/ganalytics';
export interface IWebSetupConstructorOptions {
googleAnalyticsCode?: string;
fsCode?: string;
}
/**
* the main WebSetup class
*/
export class WebSetup {
constructor(optionsArg: IWebSetupConstructorOptions) {
if (optionsArg.googleAnalyticsCode) {
setupGoogleAnalytics(optionsArg.googleAnalyticsCode);
}
if () {
}
}
}