Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
my-cucumbers-ru-github-io
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Лотуга Данила Сергеевич
my-cucumbers-ru-github-io
Commits
0dac96b4
Commit
0dac96b4
authored
Jan 19, 2013
by
miripiruni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
JSDoc: All callbacks are optional
parent
b87fc92c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
shower.js
shower.js
+8
-8
No files found.
shower.js
View file @
0dac96b4
...
...
@@ -160,7 +160,7 @@ window.shower = (function(window, document, undefined) {
/**
* Show next slide. If slide is last returns false, otherwise return slide
* number which been shown.
* @param {Function}
callback
runs only if shower.next() complete successfully
* @param {Function}
[callback]
runs only if shower.next() complete successfully
* @returns {Number|Boolean}
*/
shower
.
next
=
function
(
callback
)
{
...
...
@@ -192,7 +192,7 @@ window.shower = (function(window, document, undefined) {
/**
* Show previous slide. If slide is first returns false, otherwise return slide
* number which been shown.
* @param {Function}
callback
runs only if shower.previous() complete successfully
* @param {Function}
[callback]
runs only if shower.previous() complete successfully
* @returns {Number|Boolean}
*/
shower
.
previous
=
function
(
callback
)
{
...
...
@@ -216,7 +216,7 @@ window.shower = (function(window, document, undefined) {
/**
* Show first slide.
* @param {Function}
callback
* @param {Function}
[callback]
* @returns {Number}
*/
shower
.
first
=
function
(
callback
)
{
...
...
@@ -229,7 +229,7 @@ window.shower = (function(window, document, undefined) {
/**
* Show last slide.
* @param {Function}
callback
* @param {Function}
[callback]
* @returns {Number}
*/
shower
.
last
=
function
(
callback
)
{
...
...
@@ -241,7 +241,7 @@ window.shower = (function(window, document, undefined) {
/**
* Switch to slide view.
* @param {Function}
callback
runs only if shower.enterSlideMode() complete successfully
* @param {Function}
[callback]
runs only if shower.enterSlideMode() complete successfully
* @returns {Number|Boolean}
*/
shower
.
enterSlideMode
=
function
(
callback
)
{
...
...
@@ -278,7 +278,7 @@ window.shower = (function(window, document, undefined) {
/**
* Switch to list view.
* @param {Function}
callback
runs only if shower.enterListMode() complete successfully
* @param {Function}
[callback]
runs only if shower.enterListMode() complete successfully
* @returns {Number}
*/
shower
.
enterListMode
=
function
(
callback
)
{
...
...
@@ -302,7 +302,7 @@ window.shower = (function(window, document, undefined) {
/**
* Toggle Mode: Slide and List
* @param {Function}
callback
* @param {Function}
[callback]
*/
shower
.
toggleMode
=
function
(
callback
)
{
if
(
shower
.
isListMode
())
{
...
...
@@ -487,7 +487,7 @@ window.shower = (function(window, document, undefined) {
/**
* Go to slide number...
* @param {Number} slideNumber slide number (sic!). Attention: starts from zero.
* @param {Function}
callback
runs only if you not in List mode
* @param {Function}
[callback]
runs only if you not in List mode
* @returns {Number}
*/
shower
.
go
=
function
(
slideNumber
,
callback
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment