Closed mikeybanez closed 8 years ago
This will be important for xjsframework/xjs#85 as initialization will become a bit tricky when global sources are involved.
@virn for this one, @SML-MeSo can give more details.
Make sure to update all relevant parts in the tutorials section to reflect these changes. You can coordinate the changes in this item together with #17 so that everything is cohesive.
@SML-MeSo I've made the changes on this together with #17. Kindly review the change and possible things that I've missed.
Here are some changes that need to be done for this section of the tutorial (this does not include the rest of the page that is for #17):
Item.getItemList
returns an array of Item
s. loadConfig
on an Item
makes the call bubble up to the underlying source
We will need to create a tutorial (or we can possibly use quick start as well, let's find a logical place for this) where we can explain our "one-time-only" initialization for sources.
Example: a source which attempts to make itself "full-screen" should only do so once. It shouldn't try doing it on refresh, or when the application restarts, in order to preserve any user settings.