Skip to content

应用列表模块 ​

点我查看API

集成和使用ESAppModule模块。

  • ESAppManager是对ESAppModule进一步封装。
  • 开发者可以直接使用ESAppModule。建议直接使用ESAppManager。

集成 ​

package.json引入库

点击查看源码
js
"@extscreen/es-core": "^x.x.x"

获取系统应用列表 ​

示例代码

点击查看源码
js
 ESAppManager.getAppList()
    .then(
        (appList) => {
            let systemAppList = appList.system
        },
        //
        error => {

        })

获取用户应用列表 ​

示例代码

点击查看源码
js
 ESAppManager.getAppList()
    .then(
        (appList) => {
            let userAppList = appList.user
        },
        //
        error => {

        })