export DateSelector, fix issue about column.align and filter panel position of the last header cell.

This commit is contained in:
2024-01-30 11:16:57 +08:00
parent df42221b52
commit 0b897cae8a
8 changed files with 133 additions and 30 deletions

View File

@ -47,11 +47,13 @@ export interface DropdownOptions {
/** 下拉框类 */
export class Dropdown {
/**
* 把父元素下的所有 `select` 元素修改为统一下拉框组件
* 把父元素下的所有 `select` 元素修改为统一下拉框组件<br/><br/>
* 解析的属性为 `value`, `disabled`, `tabIndex`
* @param dom 父元素
* @param trigger 选中事件触发函数(上下文为触发选中的 `Dropdown` 实例)
* @returns 返回该父元素
*/
static resolve(dom?: HTMLElement): HTMLElement;
static resolve(dom?: HTMLElement, trigger?: (item: DropdownItem) => void): HTMLElement;
/**
* 下拉框的构造函数