File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 1
1
if ( ! javaxt ) var javaxt = { } ;
2
- if ( ! javaxt . dhtml ) javaxt . dhtml = { } ;
2
+ if ( ! javaxt . express ) javaxt . express = { } ;
3
3
4
4
//******************************************************************************
5
5
//** Thumbnail Editor
6
6
//*****************************************************************************/
7
7
/**
8
- * Used to resize and crop an image
8
+ * Simple image editor used to create a thumbnail of an image. Provides
9
+ * controls to center, resize, and crop a source image.
9
10
*
10
11
******************************************************************************/
11
12
12
- javaxt . dhtml . ThumbnailEditor = function ( parent , config ) {
13
+ javaxt . express . ThumbnailEditor = function ( parent , config ) {
13
14
14
15
var me = this ;
15
16
var defaultConfig = {
@@ -135,6 +136,10 @@ javaxt.dhtml.ThumbnailEditor = function(parent, config) {
135
136
//**************************************************************************
136
137
//** setImage
137
138
//**************************************************************************
139
+ /** Used to update the panel with a source image.
140
+ * @param src Image source (url or Base64 image data) used as the "src"
141
+ * attribute in the main image panel.
142
+ */
138
143
this . setImage = function ( src ) {
139
144
if ( ! src ) return ;
140
145
You can’t perform that action at this time.
0 commit comments