Module
Select.Effects
- Package
- purescript-halogen-select
- Repository
- citizennet/purescript-halogen-select
#Effects Source
type Effects eff = (ajax :: AJAX, avar :: AVAR, console :: CONSOLE, dom :: DOM, exception :: EXCEPTION, ref :: REF | eff)
The effect rows used in all primitives. To extend this type in a parent component, you can add your own effects:
type MyEffects e = ( effect :: EFFECT | Effects e )
Note: When using the Search primitive, make sure you provide effects extended by Effects, rather than your own effects directly. Using the above MyEffects example:
type ChildQuery e = SearchQuery MyQuery MyItem (MyEffects e)