Skip to content

Conversation

@abdennour
Copy link
Contributor

message, animate/stopAnimate and progress are 4 features have been added in this branch.

Plz, review then merge if it is approved.

abdennour added 19 commits November 17, 2015 07:03
- rectify message function. 
- Add animate function
- Add stopAnimate function
if array , rectify loop
- you can pass "timer" && "timeout" as global settings , the "animate" function will reuse them if you don't specify argument 2 AND/OR argument 3
- you can call ```animate ``` function without argument , then, the animated message will be the message set on calling on ```show``` function .
- calling ``` stopAnimate``` without argument means --> stop the last running job .
- bug if no argument -> get the current message and animate it
 Calling with : 
   - One Argument --> "percentOrCurrent" is the percent of progress
  - Two Argument ---> "percentOrCurrent" is the current amount, "total" is the total amount .
use js not jquery to get the current width
use js not jquery to get the current width
Since our language is arabic ,  rtl=true is default .
If you want LTR , 

```js
waitingDialog.show('waiting..',{rtl:false})

```
@ehpc
Copy link
Owner

ehpc commented Sep 2, 2016

Hey, abdennour!
Thanks! I will get back to your commits when I'll have some spare time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants