smalljs$molPesquisar⌘ KDocsPlaygroundCompararEcossistemaSobrePT
Projetomam/├── .meta.tree├── mol/└── my/ ├── my.meta.tree └── demo/ ├── index.html ├── demo.view.tree ├── demo.view.ts └── demo.view.css.tsOnde estes arquivos ficam num workspace MAMview.treeview.tsview.css.tsContadorview.tree$my_demo $mol_view count_text \0 inc? null sub / <= Value $mol_view sub / <= count_text <= Button $mol_button_major click? <=> inc? sub / <= button_label @ \Count up view.tsclass $my_demo extends $.$my_demo { @ $mol_mem count( next?: number ) { return next ?? 0 } @ $mol_action inc() { this.count( this.count() + 1 ) } count_text() { return String( this.count() ) } } view.css.tsnamespace $ { $mol_style_define( $my_demo, { flex: { direction: 'column' }, gap: '1rem', padding: '1.5rem', Value: { font: { size: '2rem', weight: 700 }, color: '#0088ff', padding: { bottom: '0.5rem' }, }, } ) } Pré-visualizaçãoConsole0Count upConsoleNot translated to "pt": $bog_theme_switch_light_hintNot translated to "pt": $bog_theme_switch_system_hintNot translated to "pt": $bog_theme_switch_dark_hintNot translated to "pt": $mol_link_source_hint
Type to search the documentation.