UNPKG

684 BTypeScriptView Raw
1/**
2 * @license
3 * MOST Web Framework 2.0 Codename Blueshift
4 * Copyright (c) 2017, THEMOST LP All rights reserved
5 *
6 * Use of this source code is governed by an BSD-3-Clause license that can be
7 * found in the LICENSE file at https://themost.io/license
8 */
9import {HttpContext} from "./context";
10import {Moment} from "moment";
11
12export declare class HtmlViewHelper {
13 constructor(context: HttpContext);
14
15 context: HttpContext;
16
17 static create(context: HttpContext): HtmlViewHelper;
18
19 antiforgery(): string;
20
21 lang(): string;
22
23 moment(value: any): Moment;
24
25 numeral(value: any): any;
26
27 getRequestLink(): any;
28
29 resolveUrl(appRelativeUrl: string): string;
30
31}
\No newline at end of file