miso-aframe-0.1: Miso bindings for A-Frame framework for WebVR.

Safe HaskellNone
LanguageHaskell2010

Miso.AFrame.Core.Component

Documentation

type ComponentName = MisoString Source

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

foreignComponent :: ToJSVal a => MisoString -> a -> Component action Source