1.0.2 • Published 6 years ago

nat-media-image v1.0.2

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

nat-media-image

Installation

weexpack plugin add nat-media-image
npm install natjs --save

Usage

Use in weex project (.vue/.we)

<script>
import Nat from 'natjs'

// preview
Nat.image.preview([
    'http://domain.com/image/1',
    'http://domain.com/image/2',
    'http://domain.com/image/3',
])

// pick image from gallery
Nat.image.pick((err, ret) => {
    console.log(ret)
})

// get info
Nat.image.info('http://domain.com/image', (err, ret) => {
    console.log(ret)
})

// get exif info
Nat.image.exif('http://domain.com/image', (err, ret) => {
    console.log(ret)
})

</script>

See the Nat Documentation for more details.

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0-alpha.1

6 years ago

1.0.0-alpha

6 years ago

0.2.3

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago