nat-communication

Nat.js module for weex: Communication

Usage no npm install needed!

<script type="module">
  import natCommunication from 'https://cdn.skypack.dev/nat-communication';
</script>

README

nat-communication

Installation

weexpack plugin add nat-communication
npm install natjs --save

Usage

Use in weex project (.vue/.we)

<script>
import Nat from 'natjs'

// make a phone call
Nat.call('415-736-0000')

// send short message
Nat.sms('415-736-0000')

// send e-mail
Nat.mail('hi@natjs.com')

</script>

See the Nat Documentation for more details.