T-T
This commit is contained in:
parent
6817734ed9
commit
99c294a9ba
14 changed files with 19528 additions and 19413 deletions
15
test/app.ts
15
test/app.ts
|
|
@ -1 +1,14 @@
|
|||
import {} from ".."
|
||||
import { BagBinding, f, ItemAuxID, Label } from ".."
|
||||
|
||||
const text = Label({
|
||||
text: "#text",
|
||||
[BagBinding.ITEM_ID_AUX]: ItemAuxID.DIAMOND,
|
||||
"#x": 2,
|
||||
})
|
||||
|
||||
text.addBindings({
|
||||
source_property_name: f(`Test: #{ -(${BagBinding.ITEM_ID_AUX} % #x) == 0 }`),
|
||||
target_property_name: BagBinding.TEXT,
|
||||
})
|
||||
|
||||
console.log(text)
|
||||
|
|
|
|||
Reference in a new issue