sonic-web
v0.1.24
Published
``` js npm install sonic-web --save ```
Readme
sonic-web
安装
npm install sonic-web --save引用
import SonicWeb from "sonic-web";
import "sonic-web/dist/sonic-web.css";
Vue.use(SonicWeb)组件
notification:
this.$sonic.notification({
...
});
this.$snoic.closeAllNotification(); // 关闭所有通知
loading:
this.$sonic.loading({ target: '#loadingId', text: 'Loading...' });
editor:
<rap-editor v-model="value" :uploadOptions="uploadOptions"></rap-editor>
mapbox:
<rap-mapbox v-if="originAddress"
accessToken="xx.xxxx.xxxx"
:origin="originAddress"
:destination="destinationAddress"
height="360px">
</rap-mapbox>