-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ViewContext id的进一步问题 #46
Comments
我觉得需要确保。看起来用户貌似没有显式修改的需求,但是可能会这样
如果xxCtrl不是在默认viewContext下,myButton的viewContext是需要被更改的。 |
那么我建议把 |
补充一下,如果放在 |
配置放main上是为了统一配置项的存放地,万一esui默认使用的data-xxxxxxx与用户已经用了的有冲突,可以在一个地方统一配置 |
我没想到什么场景需要这样用,但是,从一致性上来讲,貌似需要支持 |
那么我去开工啦- - |
setViewContext
更换时,是否要确保main
上的data-ctrl-view-context
属性同步变化?viewContext
是只读的,以避免这一类问题的出现?想不到需要改变viewContext
的情况。如果是只读的,我考虑删掉setViewContext
方法。@errorrik
The text was updated successfully, but these errors were encountered: