UNPKG

265 BPlain TextView Raw
1import { IHtmlEngineHelper } from './html-engine-helper.interface';
2
3export class StripURLHelper implements IHtmlEngineHelper {
4 public helperFunc(context: any, prefix: string, url: string, options): string {
5 return prefix + url.split("/").pop();
6 }
7}
\No newline at end of file