src/MvcCore/Ext/Form/AddMethods.php
public function & AddJsSupportFile (
		$jsRelativePath = '/fields/custom-type.js', 
		$jsClassName = 'MvcCoreForm.FieldType', 
		$constructorParams = []
	) {
		/** @var $this \MvcCore\Ext\Forms\IForm */
		$this->jsSupportFiles[] = [$jsRelativePath, $jsClassName, $constructorParams];
		return $this;
	}
public function & AddJsSupportFile (
		$jsRelativePath = '/fields/custom-type.js', 
		$jsClassName = 'MvcCoreForm.FieldType', 
		$constructorParams = []
	) {
		/** @var $this \MvcCore\Ext\Forms\IForm */
		$this->jsSupportFiles[] = [$jsRelativePath, $jsClassName, $constructorParams];
		return $this;
	}
public function & AddJsSupportFile ( $ jsRelativePath = '/fields/custom-type.js' , $ jsClassName = 'MvcCoreForm.FieldType' , $ constructorParams = [ ] ) { /** @var $this \MvcCore\Ext\Forms\IForm */ $ this -> jsSupportFiles [ ] = [ $ jsRelativePath , $ jsClassName , $ constructorParams ] ; return $ this ; }
Add supporting javascript file.
@param string $jsRelativePath	Supporting javascript file relative path from protected `\MvcCore\Ext\Form::$jsAssetsRootDir`.
@param string $jsClassName		Supporting javascript full class name inside supporting file.
@param array  $constructorParams	Supporting javascript constructor params.
@return \MvcCore\Ext\Form|\MvcCore\Ext\Forms\IForm
Add supporting javascript file .