1.7.0 • Published 6 years ago

input-select-image v1.7.0

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

Input to select image

Using browser javascript to create a user image selection input using webrtc to capture photo. If browser dont supports webrtc, a file dialog will be trigger.

selectImage({
    btnOkText: 'OK', 
    btnCancelText: 'Cancel',
    selectDeviceText: 'Select device'
}).then(function(image) {
    var img = new Image();
    img.src = image;
    document.getElementById('target').appendChild(img);
});
1.7.0

6 years ago

1.6.2

6 years ago

1.6.1

6 years ago

1.6.0

6 years ago

1.5.2

6 years ago

1.5.1

6 years ago

1.5.0

6 years ago

1.4.1

6 years ago

1.4.0

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago