-
Form
-
- Text (immediate):
-
-
- Other text (lazy):
-
-
- Number:
-
-
- Boolean:
-
-
- Color, with a select:
-
-
- Color, with radio buttons:
-
-
-
-
-
-
State
-
Text:
-
Other Text:
-
Number:
-
Boolean: TrueFalse
-
Color:
+
+
Form
+
+ Text (immediate):
+
+ Other text (lazy):
+
+
+ Number:
+
+
+ Boolean:
+
+
+ Color, with a select:
+
+
+
+ Color, with radio buttons:
+
+
+
+
+
State
+
Text:
+
Other Text:
+
Number:
+
Boolean: TrueFalse
+
Color:
+
`;
export const SAMPLES = [
{
- description: "Click Counter",
- code: CLICK_COUNTER,
- xml: CLICK_COUNTER_XML,
- css: CLICK_COUNTER_CSS
+ description: "Components",
+ code: COMPONENTS,
+ xml: COMPONENTS_XML,
+ css: COMPONENTS_CSS
},
{
- description: "Click Counter (ESNext)",
- code: CLICK_COUNTER_ESNEXT,
- xml: CLICK_COUNTER_XML,
- css: CLICK_COUNTER_CSS
- },
- {
- description: "Form input bindings",
+ description: "Form Input Bindings",
code: FORM,
- xml: FORM_XML,
- },
- {
- description: "Widget Composition",
- code: WIDGET_COMPOSITION,
- xml: WIDGET_COMPOSITION_XML,
- css: WIDGET_COMPOSITION_CSS
+ xml: FORM_XML
},
{
description: "Animations",
@@ -1379,7 +1349,8 @@ export const SAMPLES = [
{
description: "Lifecycle demo",
code: LIFECYCLE_DEMO,
- xml: LIFECYCLE_DEMO_XML
+ xml: LIFECYCLE_DEMO_XML,
+ css: LIFECYCLE_CSS,
},
{
description: "Todo List App (with store)",
@@ -1394,7 +1365,7 @@ export const SAMPLES = [
xml: RESPONSIVE_XML
},
{
- description: "Slots",
+ description: "Slots And Generic Components",
code: SLOTS,
xml: SLOTS_XML,
css: SLOTS_CSS
@@ -1404,9 +1375,5 @@ export const SAMPLES = [
code: ASYNC_COMPONENTS,
xml: ASYNC_COMPONENTS_XML,
css: ASYNC_COMPONENTS_CSS
- },
- {
- description: "Empty",
- code: EMPTY
}
];