We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/** * ref动态注入 * @param string $ref 选择已注册的ref组件 * @param string|\Closure $refData 目标组件注入的js代码 * @param string $event 当前组件触发什么事件进行注入 click * @return $this */ public function refData(string $ref, $refData, string $event = "click") { if ($refData instanceof \Closure) { $data = call_user_func($refData); } else { $data = $refData; }
$this->refData = [ 'ref' => $ref, "data" => $data ]; return $this; }
$event 没有用到,作者不更新了吗?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
/**
* ref动态注入
* @param string $ref 选择已注册的ref组件
* @param string|\Closure $refData 目标组件注入的js代码
* @param string $event 当前组件触发什么事件进行注入 click
* @return $this
*/
public function refData(string $ref, $refData, string $event = "click")
{
if ($refData instanceof \Closure) {
$data = call_user_func($refData);
} else {
$data = $refData;
}
$event 没有用到,作者不更新了吗?
The text was updated successfully, but these errors were encountered: