Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
eval()QML で JS 内の関数を使用すると、このメッセージが表示されるのはなぜですか?
eval()
text_123ID : "123" しか知らないオブジェクトを参照するには、他にどのような方法がありますか?
text_123
すべてのオブジェクトは親オブジェクトに属します。
Web サイトでは、ルート要素は window です。
グローバルオブジェクトを定義した場合、次のことができます。
window["text_" + 123]
その変数にアクセスするため。