Created
April 29, 2020 19:09
-
-
Save Olegas/6d3699b4d675e0f459267d8296fa773d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class A extends Control { | |
protected _x: object = { | |
val: 1, | |
_version: 0 | |
} | |
_doSomthing() { | |
this._x._version++; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> | |
<Hoc1> | |
<Hoc2> | |
<ws:partial template="wml!partial" x={{_x}} /> | |
</Hoc2 | |
</Hoc1> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div>{{ x.val }}</div> |
SowingSadness
commented
Apr 29, 2020
По идее просто фейковый атрибут должен помочь
<div>
<Hoc1 x={{_x}}>
<Hoc2 x={{_x}}>
<ws:partial template="wml!partial" x={{_x}} />
</Hoc2
</Hoc1>
</div>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment