ABP框架系列之三十:(Javascript-API-Javascript-API)

ASP.NET Boilerplate JavaScript API 概览
本文介绍ASP.NET Boilerplate提供的JavaScript API集,包括AJAX调用、通知显示、消息框展示等功能,旨在简化并标准化前端开发过程。

ASP.NET Boilerplate provides a set of objects and functions that are used to make javascript development easy and standards-based.

ASP.NET的模板提供了一套,是用来使JavaScript开发容易、基于标准的、功能的对象。

Here is a list of APIs in ASP.NET Boilerplate. Click headers to see details and usages.

AJAX

Used to call server-side services using AJAX and evaluate the return value. Since ASP.NET Boilerplate server-side code returns a standard response for AJAX calls, it's suggested to use this method to handle the standard return value.

用于使用Ajax调用服务器端服务,并评估返回值。由于ASP.NET使用服务器端代码返回一个标准响应Ajax调用,建议使用此方法处理标准的返回值。

Notification

Used to show auto-disappearing notifications.

Message

Used to show message boxes (dialogs) to the user.

UI Block & Busy

Used to make an area (a div, a form, entire page...) blocked for user inputs. Also used to make an area busy (with a busy indicator).

用于为用户输入设置一个区域(一个div、一个窗体、整个页面…)。也用于使区域忙碌(带有一个忙碌的指示器)。

Event Bus

Used to register to and trigger client side global events.

Logging

Used to write logs in client-side.

Other Utility Functions

Some utility functions that make it easy to perform some common stuff.

一些实用功能,可以很容易地执行一些常见的东西。

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值