new Sortby(options)
Usage
import { Sortby } from '@supermapgis/iclient-leaflet';
new Sortby(options);<script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script>
<script>
new L.supermap.Sortby({paramsNames});
// 弃用的写法
new SuperMap.Sortby(options);
</script>
common/iServer/Sortby.js, line 6
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
参数。
|
API Relations
As method parameter:
Sortby.constructFromObject.
Returned by:
Sortby.constructFromObject.
Members
-
(static, readonly) Directionstring
-
排序的类型枚举。
Properties:
Name Type Default Description ASCstring ASC 升序。
DESCstring DESC 降序。
-
directionSortby.Direction
-
排序规则。
- Default Value: Sortby.Direction.ASC
fieldstring
属性名称。