斗爷

导航

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

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.

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

posted on 2018-01-16 13:47  斗哥哥  阅读(229)  评论(0编辑  收藏  举报