feat: 🎸 Host list in targets shows just type static

This commit is contained in:
Carlos Alcaide Corvo committed 2021-12-14 08:08:15 -08:00
1 parent 6c2694999c
commit c8b49beba6
3 files changed
+50 -29

No files matched your search

+7
View File
@@ -7,4 +7,11 @@ export default class HostModel extends GeneratedHostModel {
* @type {FragmentHostAttributesModel}
*/
@fragment('fragment-host-attributes', { defaultValue: {} }) attributes;
/**
* @type {boolean}
*/
get isStatic() {
return this.type === 'static';
}
}