File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1616 /**
1717 * Animation object.
1818 *
19- * @param {String | Array | NodeList | HTMLElement } targets
19+ * @param {String (selector) | Array<HTMLElement> | NodeList | HTMLElement } targets
2020 */
2121 Animation = function ( targets ) {
2222 switch ( typeof targets ) {
606606 Animation . prototype = {
607607
608608 /**
609- * Create Animation object and animate it .
609+ * Animate with config .
610610 *
611611 * @param {Object } animStyle
612612 * @return {Object } animation
697697 /**
698698 * Create Animation object.
699699 *
700- * @param {String | Array | NodeList | HTMLElement } targets
700+ * @param {String (selector) | Array<HTMLElement> | NodeList | HTMLElement } targets
701701 * @return {Object } aniamtion
702702 */
703703 window . MojoJS . createAnimation = function ( targets ) {
Original file line number Diff line number Diff line change 10401040 /**
10411041 * Select HTMLElements by css seletor and context.
10421042 *
1043- * @param {String } selector
1044- * @param {String | HTMLElement | Array<HTMLElement> | NodeList } context (optional)
1045- * @return {Array } HTMLElements Array
1043+ * @param {String } selector
1044+ * @param {String (selector) | HTMLElement | Array<HTMLElement> | NodeList } context (optional)
1045+ * @return {Array<HTMLElement> } HTMLElements
10461046 */
10471047 window . MojoJS . query = function ( selector , context ) {
10481048 return parser . query ( selector , context ) ;
You can’t perform that action at this time.
0 commit comments