1
1
mirror of https://github.com/aelve/guide.git synced 2024-11-23 12:15:06 +03:00

Add an export list to Guide.Views.Utils

This commit is contained in:
Artyom 2017-02-05 13:56:59 +03:00
parent f95cf6a9e5
commit dfe8ec6fe7
No known key found for this signature in database
GPG Key ID: B8E35A33FF522710

View File

@ -1,7 +1,54 @@
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleContexts #-}
module Guide.Views.Utils where
module Guide.Views.Utils
(
-- * Script utils
onPageLoad,
onEnter,
onCtrlEnter,
onEscape,
onFormSubmit,
inputValue,
clearInput,
-- * HTML utils
emptySpan,
mkLink,
selectedIf,
checkedIf,
hiddenIf,
categoryLink,
itemLink,
-- * HTML components
button,
textButton,
imgButton,
textInput,
markdownEditor,
smallMarkdownEditor,
-- * Node identifiers
thisNode,
itemNodeId,
categoryNodeId,
-- * Sections system
shown,
noScriptShown,
section,
sectionSpan,
-- * Widget system & templates
mustache,
readWidgets,
getJS,
getCSS,
)
where
import Imports import Imports