本文整理匯總了TypeScript中@fabalous/runtime-web/FabaRuntimeWeb.sendToEndpoint函數的典型用法代碼示例。如果您正苦於以下問題:TypeScript sendToEndpoint函數的具體用法?TypeScript sendToEndpoint怎麽用?TypeScript sendToEndpoint使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。
在下文中一共展示了sendToEndpoint函數的8個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的TypeScript代碼示例。
示例1: execute
async execute(event: SignUpEvent) : Promise<void> {
if (!event.checkUserData()) {
this.store.set("account.signUp.errorCode", 0);
return;
}
FabaRuntimeWeb.sendToEndpoint(event, "");
}
示例2: execute
async execute(event: LoginEvent) : Promise<void> {
new AccountUiEvent(AccountUiEventType.SHOW_LOGIN_PROGRESS).dispatch();
if (event.checkUserPassLength()) {
FabaRuntimeWeb.sendToEndpoint(event, "");
return;
}
new AccountUiEvent(AccountUiEventType.SHOW_LOGIN_ERROR).dispatch();
}
示例3: execute
async execute(event: GetShopItemsEvent) : Promise<void> {
FabaRuntimeWeb.sendToEndpoint(event, "");
}
示例4: execute
execute(event: GetDashboardDataEvent) {
FabaRuntimeWeb.sendToEndpoint(event, "");
}
示例5: execute
execute(event:InsertDashboardDataCommand) {
FabaRuntimeWeb.sendToEndpoint(event, "");
}
示例6: execute
async execute(event: ForgotPassEvent) {
if (event.username) {
this.store.data.account.forgotPass.showSuccessMessage = true;
FabaRuntimeWeb.sendToEndpoint(event, "");
}
}
示例7: execute
execute(event: BuyShopItemEvent): any {
// Show PopUp // Modal
FabaRuntimeWeb.sendToEndpoint(event, "");
}
示例8: execute
async execute(event: GetCourseDataEvent) {
FabaRuntimeWeb.sendToEndpoint(event, "");
}