MCPcopy Create free account
hub / github.com/alibaba/weex

github.com/alibaba/weex @1.4.0.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.4.0.3 ↗ · + Follow
4,877 symbols 14,884 edges 675 files 1,163 documented · 24% updated 7mo ago0.30.0 · 2021-05-24★ 18,53658 open issues

Browse by type

Functions 4,235 Types & classes 642
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Weex

Pre-release Notes

Weex is currently in Pre-release Stage.

We agrees that you may discuss technical information about Weex, except that you may not fork Weex to public repository , write public reviews or post screen shots using information from current repository(https://github.com/alibaba/weex) , redistribute weex within any form.

A framework for building Mobile cross-platform UI.

Support Android 4.1 (API 16) and iOS soon. See Weex website for more information.

Meet

Use

Android

  1. Prerequisites
    1. Install Node.js 4.0+
    2. npm install to install project
    3. Install Android Environment
  2. Run playground
    1. npm run serve
    2. In Android Studio
      1. Open android/playground
      2. In app/java/com.alibaba.weex/WXMainActivity, modify CURRENT_IP to your local IP
      3. Click (Run button)
  3. Add an example
    1. npm run watch
    2. In examples, add a file newExample.we
    3. In examples/index.we, add an item {name: 'newExample', title: 'New Example'} for array data.cases

Scripts

clean *.js in the folders of examples/build and test/build

npm run clean

transform *.we in the folders of examples & test

npm run transform

build js-framework and h5-render

npm run build

copy the builded files to playground

npm run copy

npm run clean && npm run build

npm run dev

will run a file server at 12581 port

npm run serve

will run a watcher for *.we changed

npm run watch

will run test under js-framework and h5-render

npm run ci

Contributing

See Weex Contributing Guide.

Extension points exported contracts — how you extend this code

WXGestureObservable (Interface)
Views that want to receive Gesture Event must implement this interface. Besides, those view must override their {@link a [20 …
android/sdk/src/main/java/com/taobao/weex/ui/view/gesture/WXGestureObservable.java
Reader (Interface)
Implementations of this interface can decode an image of a barcode in some format into the String it encodes. For exampl [16 …
android/playground/app/src/main/java_zxing/com/google/zxing/Reader.java
IWXActivityStateListener (Interface)
Listener class for activity lifecycle [4 implementers]
android/sdk/src/main/java/com/taobao/weex/IWXActivityStateListener.java
Writer (Interface)
The base class for all objects which encode/generate a barcode image. @author dswitkin@google.com (Daniel Switkin) [34 …
android/playground/app/src/main/java_zxing/com/google/zxing/Writer.java
IWXRenderListener (Interface)
(no doc) [8 implementers]
android/sdk/src/main/java/com/taobao/weex/IWXRenderListener.java
MultipleBarcodeReader (Interface)
Implementation of this interface attempt to read several barcodes from one image. @see com.google.zxing.Reader @author [6 …
android/playground/app/src/main/java_zxing/com/google/zxing/multi/MultipleBarcodeReader.java
IWXScroller (Interface)
(no doc) [20 implementers]
android/sdk/src/main/java/com/taobao/weex/ui/view/IWXScroller.java
ResultPointCallback (Interface)
Callback which is invoked when a possible result point (significant point in the barcode image such as a corner) is foun [2 …
android/playground/app/src/main/java_zxing/com/google/zxing/ResultPointCallback.java

Core symbols most depended-on inside this repo

Shape

Method 3,757
Class 558
Function 478
Enum 43
Interface 41

Languages

Java90%
TypeScript10%

Modules by API surface

android/sdk/assets/main.js231 symbols
android/sdk/src/main/java/com/taobao/weex/dom/flex/CSSNode.java73 symbols
android/sdk/src/main/java/com/taobao/weex/ui/component/WXComponent.java70 symbols
android/sdk/src/main/java/com/taobao/weex/WXSDKInstance.java52 symbols
android/sdk/src/main/java/com/taobao/weex/dom/WXStyle.java47 symbols
android/playground/app/src/main/java_zxing/com/google/zxing/client/android/result/ResultHandler.java42 symbols
android/sdk/src/main/java/com/taobao/weex/utils/WXHack.java40 symbols
android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java40 symbols
android/sdk/src/main/java/com/taobao/weex/ui/view/listview/BaseBounceView.java30 symbols
android/sdk/src/main/java/com/taobao/weex/ui/view/listview/IRefreshLayout.java29 symbols
android/sdk/src/main/java/com/taobao/weex/dom/WXDomObject.java29 symbols
android/playground/app/src/main/java_zxing/com/google/zxing/client/android/CaptureActivity.java29 symbols

For agents

$ claude mcp add weex \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page