Home Reference Source

src/index.js

import {
    appendUrl,
    getCurrentPageUrl,
    getCurrentPageUrlParams,
    reloadCurrentPage,
    invokePageMethod,
    checkUpdate,
    isGetUserInfoSuccess,
    isGetPhoneNumberSuccess,
    getCssString,
    hasAuth,
    getHttpResponseHeaderValue
} from './util.js';

import {
    navigateTo,
    redirectTo,
    switchTab,
    navigateBack
} from './wx.js';

export {
    appendUrl,
    getCurrentPageUrl,
    getCurrentPageUrlParams,
    reloadCurrentPage,
    invokePageMethod,
    checkUpdate,
    isGetUserInfoSuccess,
    isGetPhoneNumberSuccess,
    getCssString,
    hasAuth,
    getHttpResponseHeaderValue,

    navigateTo,
    redirectTo,
    switchTab,
    navigateBack
};