Documentation ¶
Index ¶
- Constants
- Variables
- func LoaderHexagonRolling(idContainer, idLoader string) *jse.Element
- func LoaderMultiRing(idContainer, idLoader string) *jse.Element
- func LoaderQuadSquares(idContainer, idLoader string) *jse.Element
- func LoaderRing(idContainer, idLoader string) *jse.Element
- func LoaderRotatingBlock(idContainer, idLoader string) *jse.Element
- type Loader
- type LoaderFunc
Constants ¶
const ( ID_LOADER_CONTAINER = "jsext-main-loader-container" ID_LOADER = "jsext-main-loader" )
Variables ¶
var ( COLOR_MAIN = css.COLOR_MAIN COLOR_ONE = css.COLOR_ONE COLOR_TWO = css.COLOR_TWO COLOR_THREE = css.COLOR_THREE COLOR_FOUR = css.COLOR_FOUR COLOR_FIVE = css.COLOR_FIVE LOADING_TEXT = "loading" BACKGROUND_COLOR = css.BACKGROUND_COLOR )
Functions ¶
func LoaderHexagonRolling ¶
Function for use in the loader.
- Works on its own.
- Loader needs to be deleted instead of disabled.
https://www.udemy.com/course/css-animation-transitions-and-transforms-creativity-course/
func LoaderMultiRing ¶
Function for use in the loader.
- Works on its own.
- Loader needs to be deleted instead of disabled.
https://www.udemy.com/course/css-animation-transitions-and-transforms-creativity-course/
func LoaderQuadSquares ¶
Function for use in the loader.
- Works on its own.
- Loader needs to be deleted instead of disabled.
https://www.udemy.com/course/css-animation-transitions-and-transforms-creativity-course/
func LoaderRing ¶
Function for use in the loader.
- Works on its own.
- Loader needs to be deleted instead of disabled.
https://www.udemy.com/course/css-animation-transitions-and-transforms-creativity-course/
func LoaderRotatingBlock ¶
Function for use in the loader.
- Works on its own.
- Loader needs to be deleted instead of disabled.
https://www.udemy.com/course/css-animation-transitions-and-transforms-creativity-course/
Types ¶
type Loader ¶
type Loader struct { Activated bool // contains filtered or unexported fields }
Loader struct to be used for all loader jse.
func NewLoader ¶
func NewLoader(appendTo string, className string, deleteOnFinish bool, f ...LoaderFunc) *Loader
Returns a new loader.
type LoaderFunc ¶
LoaderFunc is a function that returns a loader element.