mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-15 17:42:15 +08:00
chore(api): update api generator to include parts in the public API (#21110)
This commit is contained in:
@ -35,6 +35,9 @@ function generateComponent(component, content) {
|
|||||||
component.styles.forEach(prop => {
|
component.styles.forEach(prop => {
|
||||||
content.push(`${component.tag},css-prop,${prop.name}`);
|
content.push(`${component.tag},css-prop,${prop.name}`);
|
||||||
});
|
});
|
||||||
|
component.parts.forEach(part => {
|
||||||
|
content.push(`${component.tag},part,${part.name}`);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
exports.apiSpecGenerator = apiSpecGenerator;
|
exports.apiSpecGenerator = apiSpecGenerator;
|
||||||
|
Reference in New Issue
Block a user