Class: CtMobileFactory

CtMobileFactory()

new CtMobileFactory()

CtMobileFactory
Source:

Methods

(static) create(config) → {CtMobile}

创建CtMobile
Parameters:
Name Type Description
config object
Source:
Returns:
Type
CtMobile

(static) getPageTemplateStrByAjaxStr(templateText) → {string}

根据Ajax返回值获取TemplateStr
Parameters:
Name Type Description
templateText string
Source:
Returns:
Type
string

(static) getParentElementByTag(el, tag) → {HtmlElement}

getParentElementByTag
Parameters:
Name Type Description
el HtmlElement
tag string
Source:
Returns:
Type
HtmlElement

(static) getUrlParam(url) → {Object}

将转场参数转换为对象
Parameters:
Name Type Description
url string
Source:
Returns:
Type
Object