Flexx
v0.8.0
Getting started
Guide
Widgets basics
Widgets are components
The event system
Reactions
PScript, modules, and scope
Handling assets and data
Sensible usage patterns
Ways to run a Flexx app
Debugging
Reference
Examples
About
Flexx
Docs
»
Guide
Edit on GitHub
Guide
ΒΆ
Widgets basics
Your first widget
The init method
Structuring widgets
Turning a widget into an app
Using widgets the Python way
Using widgets the web way
Next
Widgets are components
PyComponent and JsComponent
Proxy components
Actions and events cross the boundary
The root component and active components
Next
The event system
Relation to other parts of Flexx
Event object
The Component class
Properties represent state
Attributes
Local properties
Actions can mutate properties
Mutations to array-like properties
Emitters create events
Next
Reactions
Greedy and automatic reactions
Reacting to in-place mutations
Connection string labels
Dynamism
Implicit dynamism
Next
PScript, modules, and scope
PScript is almost Python
Scope
Next
Handling assets and data
Asset management
Data management
Next
Sensible usage patterns
The observer pattern
Use of a central data store
Lean towards Python
Only JS
Clear separation
Next
Ways to run a Flexx app
Run as a desktop app
Flexx in Jupyter
Serve as a web app
Export to a static web page
Serve as a proper web app
Next
Debugging
Be clear about where the offending code is running
Digging in the Python side
Digging in the JavaScript side
End
Read the Docs
v: v0.8.0
Versions
latest
stable
v0.8.0
v0.7.1
v0.6.2
Downloads
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.