We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a5393e commit 8423aebCopy full SHA for 8423aeb
src/Infinityloop/LazyComponent/LazyComponent.php
@@ -31,6 +31,15 @@ public function render() : void
31
32
$this->template->render();
33
}
34
+
35
+ public function redrawControl(string $snippet = null, bool $redraw = true): void
36
+ {
37
+ if (\is_string($snippet) && !\Nette\Utils\Strings::startsWith($snippet, 'lazyComponent_')) {
38
+ $this->redrawControl('lazyComponent_snippetArea');
39
+ }
40
41
+ parent::redrawControl($snippet, $redraw);
42
43
44
public function saveState(array &$params): void
45
{
0 commit comments