Comments (3)
Just adding some details, in case this issue comes up when someone searches Google or whatever.
FeathersControl listens for Event.CHANGE from the style provider. If the event is dispatched, the component will clear its styles and ask the style provider for new ones. Basically, it allows a style provider to be updated after creation and automatically update components that have already been styled. As an example of where this might be used, in the default theme, switching between dark mode and light mode will result in Event.CHANGE being dispatched so that all components are restyled.
from feathersui-openfl.
The theme switching ability is going to be awesome!
from feathersui-openfl.
Ah, I just saw where you're using it. I guess it's necessary after all.
from feathersui-openfl.
Related Issues (20)
- ValidatingSprite using map instead of flags HOT 3
- Only the first row is rendered in `GridView` in a specific configuration.
- GridView: skin property for region to the right of headers and above scroll bar
- AssetLoader: property to display BitmapData and/or an arbitrary DisplayObject instead of loading with a string
- ToggleSwitch: optional on and off text
- Exception: Null Object Reference - Rectangle.hx HOT 5
- Exception: Null Object Reference - Clicking on Button HOT 9
- ItemRenderer: option to disable mouse/touch states
- ListView: scroll selected item fully into view if it is clicked/tapped
- Alert: optional close button in header
- New Component: Window/dialog: Similar to Alert, but allows completely custom content
- Inline Label cutting off in AIR HOT 2
- Fade in throwing reference error HOT 2
- HorizontalAlign.JUSTIFY not working in AIR HOT 1
- ListView: option to wrap keyboard navigation with arrow keys
- ListView: option to commit selection on item trigger only
- LongPress: property for maximum distance moved between mouseDown and mouseUp
- ToggleSwitch: optional on icon and off icon
- Label: expose antiAliasType property and pass to internal TextField (same for other text controls)
- AnchorLayout: error when `relativeTo` points to something not in the layout. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from feathersui-openfl.