File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,9 @@ Here is a simple view that displays a single button. The `createVdom` function r
2222import {defineComponent } from ' ../functional/_export.mjs' ;
2323
2424const MainView = defineComponent ({
25- className: ' GS.describing.functional.MainView' ,
25+ config: {
26+ className: ' GS.describing.functional.MainView'
27+ },
2628
2729 createVdom (config ) {
2830 return {
@@ -82,7 +84,9 @@ import {defineComponent} from '../functional/_export.mjs';
8284import Calendar from ' ../calendar/Component.mjs' ; // A complex, class-based component
8385
8486const MainView = defineComponent ({
85- className: ' GS.describing.interop.MainView1' ,
87+ config: {
88+ className: ' GS.describing.interop.MainView1'
89+ },
8690
8791 createVdom (config ) {
8892 return {
@@ -114,7 +118,9 @@ import Container from '../container/Base.mjs';
114118
115119// 1. Define a simple functional component
116120const MyFunctionalButton = defineComponent ({
117- className: ' GS.describing.interop.FuncButton' ,
121+ config: {
122+ className: ' GS.describing.interop.FuncButton'
123+ },
118124 createVdom (config ) {
119125 return {
120126 ntype: ' button' ,
You can’t perform that action at this time.
0 commit comments