@lightningtv/core
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -80,2 +80,4 @@ import { createShader } from './lightningInit.js'; | ||
requiresLayout(): true | ((this: ElementNode, target: ElementNode, child?: ElementNode, dimensions?: Dimensions) => boolean | void) | undefined; | ||
set updateLayoutOn(v: any); | ||
get updateLayoutOn(): any; | ||
updateLayout(child?: ElementNode, dimensions?: Dimensions): void; | ||
@@ -82,0 +84,0 @@ _stateChanged(): void; |
@@ -304,2 +304,8 @@ import { renderer, createShader } from './lightningInit.js'; | ||
} | ||
set updateLayoutOn(v) { | ||
this.updateLayout(); | ||
} | ||
get updateLayoutOn() { | ||
return null; | ||
} | ||
updateLayout(child, dimensions) { | ||
@@ -306,0 +312,0 @@ if (this.hasChildren) { |
{ | ||
"name": "@lightningtv/core", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Lightning TV Core for Universal Renderers", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -465,2 +465,10 @@ import { renderer, createShader } from './lightningInit.js'; | ||
set updateLayoutOn(v: any) { | ||
this.updateLayout(); | ||
} | ||
get updateLayoutOn() { | ||
return null; | ||
} | ||
updateLayout(child?: ElementNode, dimensions?: Dimensions) { | ||
@@ -467,0 +475,0 @@ if (this.hasChildren) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
162418
2429