File tree Expand file tree Collapse file tree 4 files changed +1477
-0
lines changed Expand file tree Collapse file tree 4 files changed +1477
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ const targets: string[] = [
2121 "pizzaz-carousel" ,
2222 "pizzaz-list" ,
2323 "pizzaz-albums" ,
24+ "pizzaz-shop" ,
2425] ;
2526const builtNames : string [ ] = [ ] ;
2627
Original file line number Diff line number Diff line change @@ -128,6 +128,15 @@ const widgets: PizzazWidget[] = [
128128 html : readWidgetHtml ( "pizzaz-list" ) ,
129129 responseText : "Rendered a pizza list!" ,
130130 } ,
131+ {
132+ id : "pizza-shop" ,
133+ title : "Open Pizzaz Shop" ,
134+ templateUri : "ui://widget/pizza-shop.html" ,
135+ invoking : "Opening the shop" ,
136+ invoked : "Shop opened" ,
137+ html : readWidgetHtml ( "pizzaz-shop" ) ,
138+ responseText : "Rendered the Pizzaz shop!" ,
139+ } ,
131140] ;
132141
133142const widgetsById = new Map < string , PizzazWidget > ( ) ;
Original file line number Diff line number Diff line change @@ -87,6 +87,15 @@ def _load_widget_html(component_name: str) -> str:
8787 html = _load_widget_html ("pizzaz-list" ),
8888 response_text = "Rendered a pizza list!" ,
8989 ),
90+ PizzazWidget (
91+ identifier = "pizza-shop" ,
92+ title = "Open Pizzaz Shop" ,
93+ template_uri = "ui://widget/pizza-shop.html" ,
94+ invoking = "Opening the shop" ,
95+ invoked = "Shop opened" ,
96+ html = _load_widget_html ("pizzaz-shop" ),
97+ response_text = "Rendered the Pizzaz shop!" ,
98+ ),
9099]
91100
92101
You can’t perform that action at this time.
0 commit comments