访问WebComponent中的顶级函数

时间:2013-07-31 17:52:35

标签: scope dart dart-webui

是否可以访问Dart WebUI WebComponent中的顶级函数?

1 个答案:

答案 0 :(得分:2)

使用Fancy Syntax可以实现这一点。请参阅有关注册顶级变量的部分:https://github.com/dart-lang/fancy-syntax#registering-top-level-variables