文章 UiPagerOptions 类

  • 命名空间: Limyee.Extensibility.Api.Version1
  • 程序集: Limyee.Api.dll

定义

class UiPagerOptions
{
	string BaseUrl { get; set;  }
	IDictionary<string,string> ConfigurationOptions { get; set;  }
	string CssClass { get; set;  }
	bool? LoadingIndicator { get; set;  }
	bool? LoadOnAnyHashChange { get; set;  }
	int? NumberOfPagesToDisplay { get; set;  }
	string PagedContentFile { get; set;  }
	string PagedContentUrl { get; set;  }
	string QueryStringProperty { get; set;  }
	string Target { get; set;  }
}

属性

名称

类型

描述

默认值

选项

BaseUrl

string

URL to apply paging

Current Page

ConfigurationOptions

IDictionary<string,string>

Configuration options

CssClass

string

Additional CSS Class(es) to apply to the placeholder

LoadingIndicator

bool?

When true, displays a loading indicator

LoadOnAnyHashChange

bool?

When true, loads a new page on any change of the hash, not just the page key

NumberOfPagesToDisplay

int?

Number of pages to display when showing individual pages

5

PagedContentFile

string

When provided enables Ajax paging against the content file. Requires corresponding use of $limyee_v1_ui.PagedContent(). Either this or PagedContentUrl can be used.

PagedContentUrl

string

When provided enables Ajax paging against the content file. Either this or PagedContentFile with $limyee_v1_ui.PagedContent() can be used.

QueryStringProperty

string

Name of the key to use for this widget's page index. Typically unnecessary to override

Auto-generated

Target

string

Explicit hash target for page links