public function create()
 {
     $combineFunction = func_get_args();
     $complete = eol() . JQ::selector($this->selector);
     $complete .= $this->complete();
     if (!empty($combineFunction)) {
         foreach ($combineFunction as $function) {
             $complete .= $function;
         }
     }
     $complete .= ";";
     return $complete;
 }
Example #2
0
 public function create()
 {
     $combineEvent = func_get_args();
     $event = eol() . JQ::selector($this->selector);
     $event .= $this->complete();
     if (!empty($combineEvent)) {
         foreach ($combineEvent as $e) {
             $event .= $e;
         }
     }
     $event .= ";";
     return $this->_tag($event);
 }
Example #3
0
 public function create()
 {
     $combineAnimation = func_get_args();
     $animate = eol() . "\t" . JQ::selector($this->selector);
     $animate .= $this->complete();
     if (!empty($combineAnimation)) {
         foreach ($combineAnimation as $animation) {
             $animate .= $animation;
         }
     }
     $animate .= ";" . eol();
     return $this->_tag($animate);
 }
Example #4
0
 public function create(...$args) : string
 {
     $combineEvent = $args;
     $event = EOL . \JQ::selector($this->selector);
     $event .= $this->complete();
     if (!empty($combineEvent)) {
         foreach ($combineEvent as $e) {
             $event .= $e;
         }
     }
     $event .= ";";
     return $this->_tag($event);
 }