This is the most basic setup. Just use $('selector').loader(); and you are done for the setup.
When your action (data loading, etc…) is done, just call $('selector').loader('hide'); and you are done.
Stop:
Load side element
This demo shows how to show the loading message inside the target.
Load in element
This demo shows how to show the loading message inside the target.
Overlay
Overlay on element
Add a text in the loader
Disable some extra elements
If you want to disable some extra tags/input/etc… while the loading is active, you can use the disableOthers[] option.
Options
Name
Type
Default
Description
position
boolean
block
loader 출력 위치 및 형태 설정.
block | right | inside | overlay 3 가지 사용 가능
text
string
null
loader 출력시 표시되는 문구
theme
string
default
Theme를 설정 할 수 있다.
tpl
string
Loader template
disableSource
boolen
true
loader 출력시 주변 엘리먼트에 disabled attribute 또는 class를 추가