x4js 1.5.26 → 1.5.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27,11 +27,12 @@
27
27
  * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
28
28
  **/
29
29
  import { Component, CProps } from './component';
30
- interface ImageProps extends CProps {
30
+ export interface ImageProps extends CProps {
31
31
  src: string;
32
32
  alt?: string;
33
33
  lazy?: boolean;
34
34
  alignment?: 'fill' | 'contain' | 'cover' | 'scale-down' | 'none';
35
+ overlays?: Component[];
35
36
  }
36
37
  /**
37
38
  * Standard image class
@@ -39,6 +40,7 @@ interface ImageProps extends CProps {
39
40
  export declare class Image extends Component<ImageProps> {
40
41
  protected m_created: boolean;
41
42
  protected m_lazysrc: string;
43
+ private m_img;
42
44
  constructor(props: ImageProps);
43
45
  /** @ignore */
44
46
  render(): void;
@@ -52,4 +54,3 @@ export declare class Image extends Component<ImageProps> {
52
54
  private static lazy_image_timer;
53
55
  private static lazyWatch;
54
56
  }
55
- export {};
@@ -26,4 +26,4 @@
26
26
  * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
27
27
  * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
28
28
  **/
29
- export declare const x4js_version = "1.5.26";
29
+ export declare const x4js_version = "1.5.29";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "x4js",
3
- "version": "1.5.26",
3
+ "version": "1.5.29",
4
4
  "description": "X4js core files",
5
5
  "main": "lib/cjs/index.js",
6
6
  "types": "lib/types/index.d.ts",