Elgg
Version 1.9
|
Go to the source code of this file.
Functions | |
elgg | provide ('elgg.avatarCropper') |
Avatar cropping. More... | |
elgg | register_hook_handler ('init', 'system', elgg.avatarCropper.init) |
Variables | |
elgg avatarCropper | init |
Register the avatar cropper. More... | |
elgg avatarCropper | preview |
Handler for changing select area. More... | |
elgg avatarCropper | selectChange |
Handler for updating the form inputs after select ends. More... | |
elgg provide | ( | 'elgg.avatarCropper' | ) |
Avatar cropping.
elgg avatarCropper init |
Register the avatar cropper.
If the hidden inputs have the coordinates from a previous cropping, begin the selection and preview with that displayed.
Definition at line 13 of file ui.avatar_cropper.js.
elgg avatarCropper preview |
Handler for changing select area.
{Object} | reference to the image |
{Object} | imgareaselect selection object |
Definition at line 44 of file ui.avatar_cropper.js.
elgg avatarCropper selectChange |
Handler for updating the form inputs after select ends.
{Object} | reference to the image |
{Object} | imgareaselect selection object |
Definition at line 69 of file ui.avatar_cropper.js.