Lines Matching refs:library
25 …/cn/doc/harmonyos-guides-V13/ide-hsp-V13#section7717162312546),我们以创建一个名为`library`的HSP模块为例。基本的工程目录结…
28 ├── library
50 // library/src/main/ets/components/MyTitleBar.ets
56 .id('library')
68 // library/index.ets
76 // library/src/main/ets/utils/test.ets
93 // library/index.ets
99 // library/src/main/ets/utils/nativeTest.ets
110 // library/index.ets
123 // library/src/main/ets/pages/Index.ets
143 // library/src/main/ets/ResManager.ets
156 // library/index.ets
168 依赖配置成功后,就可以像使用HAR一样调用HSP的对外接口了。例如,上面的library已经导出了下面这些接口:
171 // library/index.ets
180 import { Log, add, MyTitleBar, ResManager, nativeMulti } from 'library';
258 .createModuleContext('library')
301 若开发者想在entry模块中,添加一个按钮跳转至library模块中的menu页面(路径为:`library/src/main/ets/pages/menu.ets`),那么可以在使用方的代码(en…
303 import { Log, add, MyTitleBar, ResManager, nativeMulti } from 'library';
334 url: '@bundle:com.samples.hspsample/library/ets/pages/Menu'
352 '@bundle:com.samples.hspsample/library/ets/pages/Menu'
365 struct Index3 { // 路径为:`library/src/main/ets/pages/Back.ets
411 …url: '@bundle:com.samples.hspsample/library/ets/pages/Menu' //路径为:`library/src/main/ets/pages/Menu…
438 '@bundle:com.samples.hspsample/library/ets/pages/Menu'