Package-level declarations
Store-context plumbing (CSHasPresetStoreContext, PresetStoreContext) that routes properties to the active preset store.
Types
Link copied to clipboard
Link copied to clipboard
class CustomStoreContext(parent: CSHasDestruct? = null, val store: CSStore, hasId: CSHasId? = null, val key: String? = null) : CSModel, CSStoreContext
Link copied to clipboard
class PresetStoreContext(parent: CSHasDestruct, val id: String, val preset: Preset, val presetId: String? = null, val key: String? = presetId) : CSModel, CSStoreContext
Functions
Link copied to clipboard
fun AppStoreContext(parent: CSHasDestruct, hasId: CSHasId? = null, key: String? = null): CustomStoreContext
Link copied to clipboard
fun CSStore.context(parent: CSHasDestruct? = null, hasId: CSHasId? = null, key: String? = null): CustomStoreContext
Link copied to clipboard
Link copied to clipboard
fun <T> PresetStoreContext.property(key: String, values: () -> List<T>, default: T, onChange: ArgFun<T>? = null): CSListItemValuePresetProperty<T>
fun <T> PresetStoreContext.property(key: String, getValues: () -> List<T>, defaultIndex: Int, onChange: ArgFun<T>? = null): CSListItemValuePresetProperty<T>
fun <T> PresetStoreContext.property(key: String, values: List<T>, default: T, onChange: ArgFun<T>? = null): CSListItemValuePresetProperty<T>
Link copied to clipboard
fun RuntimeStoreContext(parent: CSHasDestruct, hasId: CSHasId? = null, key: String? = null): CustomStoreContext