Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pico-theme
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tetras-libre
pico-theme
Commits
8df986b0
Unverified
Commit
8df986b0
authored
5 years ago
by
Daniel Rudolf
Browse files
Options
Downloads
Patches
Plain Diff
Update JSDoc class docs
parent
fc941aab
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
css/style.css
+1
-1
1 addition, 1 deletion
css/style.css
js/pico.js
+1
-1
1 addition, 1 deletion
js/pico.js
js/utils.js
+11
-10
11 additions, 10 deletions
js/utils.js
with
13 additions
and
12 deletions
css/style.css
+
1
−
1
View file @
8df986b0
...
...
@@ -11,7 +11,7 @@
* @author Daniel Rudolf
* @link http://picocms.org
* @license http://opensource.org/licenses/MIT The MIT License
* @version 2.
0
* @version 2.
1
*/
*
{
...
...
This diff is collapsed.
Click to expand it.
js/pico.js
+
1
−
1
View file @
8df986b0
...
...
@@ -6,7 +6,7 @@
* @author Daniel Rudolf
* @link http://picocms.org
* @license http://opensource.org/licenses/MIT The MIT License
* @version 2.
0
* @version 2.
1
*/
function
main
()
...
...
This diff is collapsed.
Click to expand it.
js/utils.js
+
11
−
10
View file @
8df986b0
...
...
@@ -6,7 +6,7 @@
* @author Daniel Rudolf
* @link http://picocms.org
* @license http://opensource.org/licenses/MIT The MIT License
* @version 2.
0
* @version 2.
1
*/
utils
=
{};
...
...
@@ -14,7 +14,7 @@ utils = {};
/**
* Checks whether the client's browser is able to slide elements or not
*
* @return bool
ean
TRUE when the browser supports sliding, FALSE otherwise
* @return
{
bool
}
TRUE when the browser supports sliding, FALSE otherwise
*/
utils
.
canSlide
=
function
()
{
...
...
@@ -24,10 +24,10 @@ utils.canSlide = function ()
/**
* Slides a element up (i.e. hide a element by changing its height to 0px)
*
* @param
HTMLElement element the element to slide up
* @param
function finishCallback function to call when the animation has
* @param
{
HTMLElement
}
element the element to slide up
* @param
{
function
}
finishCallback function to call when the animation has
* been finished (i.e. the element is hidden)
* @param
function startCallback function to call when the animation starts
* @param
{
function
}
startCallback function to call when the animation starts
*/
utils
.
slideUp
=
function
(
element
,
finishCallback
,
startCallback
)
{
...
...
@@ -71,10 +71,10 @@ utils.slideUp = function (element, finishCallback, startCallback)
/**
* Slides a element down (i.e. show a hidden element)
*
* @param
HTMLElement element the element to slide down
* @param
function finishCallback function to call when the animation has
* @param
{
HTMLElement
}
element the element to slide down
* @param
{
function
}
finishCallback function to call when the animation has
* been finished (i.e. the element is visible)
* @param
function startCallback function to call when the animation starts
* @param
{
function
}
startCallback function to call when the animation starts
*/
utils
.
slideDown
=
function
(
element
,
finishCallback
,
startCallback
)
{
...
...
@@ -124,8 +124,9 @@ utils.slideDown = function (element, finishCallback, startCallback)
/**
* Checks whether a element is visible or not
*
* @param HTMLElement element the element to check
* @return boolean TRUE when the element is visible, FALSE otherwise
* @param {HTMLElement} element the element to check
*
* @return {bool} TRUE when the element is visible, FALSE otherwise
*/
utils
.
isElementVisible
=
function
(
element
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment