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

Method getCSSPropertySubCategory

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

Source from the content-addressed store, hash-verified

1115 }
1116
1117 getCSSPropertySubCategory(prop) {
1118 if (prop.includes('flex')) return 'flexbox';
1119 if (prop.includes('grid')) return 'grid';
1120 if (prop.includes('animation')) return 'keyframe-animation';
1121 if (prop.includes('transition')) return 'transition';
1122 if (prop.includes('transform')) return 'transform';
1123 return 'basic';
1124 }
1125
1126 getPropertyDescription(prop) {
1127 // 这里可以添加更多属性的描述

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected