1.0.5 • Published 6 years ago

@stringon/webwing-hub v1.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

mall-mobile

Project setup

npm -i stringon-webwing-hub

Introduction

const hub = require('stringon-webwing-hub');

// In webwing page: 

const iframe = document.getElementById('iframe_mall');
hub.agent.attach(iframe, {});

// In iframe page
hub.agent.attach(null, {
  onQuery,
  onUpdate,
  onUpdatebatch,
  onNewlocation,
});
1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.0

6 years ago