HighlightJS.purs 323 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
module Gargantext.Utils.HighlightJS where

import DOM.Simple (Element)
import Effect (Effect)
import Effect.Uncurried (EffectFn1, runEffectFn1)

import Gargantext.Prelude

highlightBlock :: Element -> Effect Unit
highlightBlock el = runEffectFn1 _highlightBlock el

foreign import _highlightBlock :: EffectFn1 Element Unit