MCPcopy Create free account
hub / github.com/chokcoco/iCSS / getPropertyDescription

Method getPropertyDescription

MCP/scripts/fetch-issues.js:1126–1136  ·  view source on GitHub ↗
(prop)

Source from the content-addressed store, hash-verified

1124 }
1125
1126 getPropertyDescription(prop) {
1127 // 这里可以添加更多属性的描述
1128 const descriptions = {
1129 'flex': 'Flexbox 布局的核心属性,用于设置弹性布局',
1130 'grid': 'Grid 布局的核心属性,用于设置网格布局',
1131 'animation': '用于设置动画效果的属性',
1132 'transform': '用于元素的 2D 或 3D 转换',
1133 // ... 更多属性描述
1134 };
1135 return descriptions[prop] || `CSS ${prop} 属性`;
1136 }
1137
1138 getPropertyPerformanceImpact(prop) {
1139 const highImpact = ['box-shadow', 'text-shadow', 'filter', 'backdrop-filter'];

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected