1.1.2 • Published 8 months ago

@ice/miniapp-runtime v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

@ice/miniapp-runtime

Forked from @tarojs/runtime with respect ❤️ Licensed under the MIT License https://github.com/NervJS/taro/blob/next/LICENSE

ice.js miniapp runtime. Connect the framework (DSL) rendering mechanism to the miniapp rendering mechanism, and connect the miniapp routing and life cycle to the corresponding life cycle of the framework

Core API

createPageConfig()

Expose to @ice/miniapp-loader/page calls, called in the miniapp page file, to create a miniapp page specification object accepted by the miniapp Page constructor.

window

An object that imitates the browser's window implementation on the miniapp side, and returns the browser's own window in the browser environment. This object is injected into the global object via Webpack's ProvidePlugin for third-party libraries to call.

navigator

An object that imitates the browser's navigator implementation on the miniapp side, and returns the browser's own navigator in the browser environment. This object is injected into the global object via Webpack's ProvidePlugin for third-party libraries to call.

###document

An object that imitates the browser's document implementation on the miniapp side, and returns the browser's own document in the browser environment. This object is injected into the global object via Webpack's ProvidePlugin for third-party libraries to call.

Current

Global variables exposed to developers currently have three properties:

  • Current.app, returns the current miniapp application instance, which can be used to call the miniapp specification life cycle.
  • Current.page, returns the current miniapp page instance, which can be used to call the miniapp specification life cycle.
  • Current.router, returns the current miniapp routing information.
1.1.2-beta.0

10 months ago

1.1.2

8 months ago

1.1.1

11 months ago

1.1.0

12 months ago

1.0.3-alpha.0

1 year ago

1.0.3-beta.0

1 year ago

1.1.0-beta.2

1 year ago

1.1.0-beta.1

1 year ago

1.1.0-beta.0

1 year ago

1.1.0-alpha.0

1 year ago

1.0.2

1 year ago

1.0.2-beta.0

1 year ago

1.0.1-beta.14

1 year ago

1.0.1-beta.12

1 year ago

1.0.1-beta.13

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

1.0.0-alpha.12

1 year ago

1.0.0-alpha.11

2 years ago

1.0.0-rc.5

2 years ago

1.0.1-beta.2

1 year ago

1.0.0-beta.2

1 year ago

1.0.1-beta.1

1 year ago

1.0.0-beta.3

1 year ago

1.0.0-beta.4

1 year ago

1.0.0-beta.5

1 year ago

1.0.1-beta.6

1 year ago

1.0.1-beta.5

1 year ago

1.0.1-beta.4

1 year ago

1.0.1-beta.3

1 year ago

1.0.0-beta.1

1 year ago

1.0.1-beta.9

1 year ago

1.0.1-beta.8

1 year ago

1.0.1-beta.7

1 year ago

1.0.1-beta.10

1 year ago

1.0.1-beta.11

1 year ago

1.0.0-alpha.9

2 years ago

1.0.0-alpha.8

2 years ago

1.0.0-alpha.7

2 years ago

1.0.0-alpha.6

2 years ago

1.0.0-alpha.10

2 years ago

1.0.0-alpha.5

2 years ago

1.0.0-alpha.4

2 years ago

1.0.0-rc.3

2 years ago

1.0.0-rc.4

2 years ago

1.0.0-rc.1

2 years ago

1.0.0-rc.2

2 years ago

1.0.0-alpha.3

2 years ago

1.0.0-alpha.2

2 years ago

1.0.0-alpha.1

2 years ago