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

如何初始化字体颜色或者背景色的信息? #13

Closed
yaochiqkl opened this issue Jun 20, 2016 · 2 comments
Closed

如何初始化字体颜色或者背景色的信息? #13

yaochiqkl opened this issue Jun 20, 2016 · 2 comments

Comments

@yaochiqkl
Copy link

yaochiqkl commented Jun 20, 2016

抱歉,wiki的开发文档实在有限,在源码中也没很快地找到相应的配置信息。比如说支持的属性,尝试了background、或者color等均无效

        var mock_data = {
            "data": {
                "id": 201,
                "text": "777"
            },
            "children": [{
                "data": {
                    "id": 202,
                    "text": "a",
                    "priority": 1
                }
            }, {
                "data": {
                    "id": 203,
                    "text": "b",
                    "priority": 2
                }
            }, {
                "data": {
                    "id": 203,
                    "text": "asdfad阿萨德阿萨德da",
                    "priority": ""
                }
            }]
        }

类似于

                "data": {
                    "id": 203,
                    "text": "asdfad阿萨德阿萨德da",
                    "priority": ""
                    "color": "#aaa"
                }

这样,kityminder-core是否提供了这样的接口
打扰请见谅

@yaochiqkl
Copy link
Author

['font-size', 'font-family', 'font-weight', 'font-style', 'background', 'color'];
可设置以上属性

@zhangbobell
Copy link
Contributor

可以参看 wiki 的命令部分

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