-
Notifications
You must be signed in to change notification settings - Fork 17
API.Cropper
redgoose edited this page Jul 27, 2017
·
5 revisions
이미지를 영역을 크롭하거나 리사이즈하는 부분에 대한 API입니다.
API 섹션에서
ple
이름으로 인스턴스 변수를 만들어 접근할 수 있다는걸 참고하세요.
open image cropper
- param {Number} key
ple.api.cropper.open(0);
cropper
컴포넌트를 닫고, 변경된 이미지를 grid
로 보냅니다.
- @param {Number} key
- @param {String} position
- @param {String} size
ple.api.cropper.close(0, '50% 50%', 'cover');