vue-simple
Version:
Use Vue in the simplest and easiest way, contain more than one of plugins and other to do that, i hope you will like it.
19 lines (16 loc) • 564 B
TypeScript
/**
* 检测指定的 URL 是否为绝对路径
* @param url
* @returns {boolean}
*/
declare function isAbsoluteURL( url:string ):boolean;
/**
* 使用指定 params 集合生成指定的带参数的完整 URL 地址
*
* @param {String} url The base of the url (e.g., http://www.google.com)
* @param {Object} [params] The params to be appended
* @param {Function} [paramsSerializer]
* @returns {String} The formatted url
*/
declare function buildURL( url:string, params?:Object, paramsSerializer?:Function ):string;
export { isAbsoluteURL, buildURL };