mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
config redirect
This commit is contained in:
58
node_modules/outlayer/docs/item.md
generated
vendored
Normal file
58
node_modules/outlayer/docs/item.md
generated
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
# Item
|
||||
|
||||
## Prototype methods
|
||||
|
||||
``` js
|
||||
|
||||
Item.prototype._create = function() {}
|
||||
|
||||
Item.prototype.getSize = function() {}
|
||||
|
||||
/**
|
||||
* apply CSS styles to element
|
||||
* @param {Object} style
|
||||
*/
|
||||
Item.prototype.css = function( style ) {}
|
||||
|
||||
// measure position, and sets it
|
||||
Item.prototype.getPosition = function() {}
|
||||
|
||||
// moves position with transition
|
||||
Item.prototype.moveTo = function( x, y ) {}
|
||||
|
||||
// moves position instantly
|
||||
Item.prototype.goTo = function( x, y ) {}
|
||||
|
||||
/**
|
||||
* sets CSS transition
|
||||
* @param {Object} args - arguments
|
||||
* @param {Object} to - style to transition to
|
||||
* @param {Object} from - style to start transition from
|
||||
* @param {Boolean} isCleaning - removes transition styles after transition
|
||||
* @param {Function} onTransitionEnd - callback
|
||||
*/
|
||||
Item.prototype.transition = function( args ) {}
|
||||
|
||||
/**
|
||||
* removes style property from element
|
||||
* @param {Object} style
|
||||
**/
|
||||
Item.prototype._removeStyles = function( style ) {}
|
||||
|
||||
Item.prototype.removeTransitionStyles = function() {}
|
||||
|
||||
// hides, then removes element from DOM
|
||||
Item.prototype.remove = function() {};
|
||||
|
||||
Item.prototype.reveal = function() {}
|
||||
|
||||
Item.prototype.hide = function() {}
|
||||
|
||||
Item.prototype.destroy = function() {}
|
||||
```
|
||||
|
||||
## Options
|
||||
|
||||
+ transitionDuration
|
||||
+ hiddenStyle
|
||||
+ visibleStyle
|
||||
Reference in New Issue
Block a user