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

框架支持简单的dom操作吗 #2

Open
adodoa1 opened this issue Nov 3, 2020 · 1 comment
Open

框架支持简单的dom操作吗 #2

adodoa1 opened this issue Nov 3, 2020 · 1 comment

Comments

@adodoa1
Copy link

adodoa1 commented Nov 3, 2020

比如简单的获取dom节点,操作css

@cpagejs
Copy link
Owner

cpagejs commented Nov 10, 2020

框架支持DOM操作的。

import { Dom } from 'cpage';
Dom('body').css('width')

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

No branches or pull requests

2 participants