Skip to content
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

设置align为空,就可以不使用js进行定位相关(交由css解决) #8

Merged
merged 1 commit into from
May 27, 2013

Conversation

lianqin7
Copy link
Member

在某些场景下,只希望用css对齐,而不是js计算完成
目前 overlay 没有提供相关接口

// 这样就不会利用js计算定位了
new Overlay({
    align: null
})

align属性为null时,就不进行js对齐工作
@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling b9cc352 on lianqin7:master into 217532a on aralejs:master.

afc163 added a commit that referenced this pull request May 27, 2013
设置align为空,就可以不使用js进行定位相关(交由css解决)
@afc163 afc163 merged commit 46b8e76 into aralejs:master May 27, 2013
afc163 added a commit that referenced this pull request May 27, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants