Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type ComponentName = MisoString Source
type ComponentSchema = JSVal Source
data ComponentDefinition Source
ComponentDefinition | |
|
aframeRegisterComponent :: ComponentName -> ComponentSchema -> Callback (IO ()) -> Callback (JSVal -> IO ()) -> Callback (IO ()) -> Callback (JSVal -> JSVal -> IO ()) -> Callback (IO ()) -> Callback (IO ()) -> Callback (JSVal -> IO ()) -> JSArray -> Bool -> IO () Source
registerComponent :: ComponentName -> ComponentDefinition -> IO () Source
foreignComponent :: ToJSVal a => MisoString -> a -> Component action Source