BootstrapDateEdit Class
Declaration
class BootstrapDateEdit extends BootstrapClientEdit
IMPORTANT
Bootstrap Controls for ASP.NET Core are in maintenance mode. We don’t add new controls or develop new functionality for this product line. Our recommendation is to use the ASP.NET Core Controls suite.
Methods
adjustDropDownWindow Method
Declaration
adjustDropDownWindow(): void
getButtonVisible(
number: number
): boolean
getCalendar Method
Declaration
getCalendar(): BootstrapCalendar | null
Returns
getCaretPosition Method
Declaration
getCaretPosition(): number
Returns
getDate Method
Declaration
getDate(): Date
Returns
getMaxDate Method
Declaration
getMaxDate(): Date
Returns
getMinDate Method
Declaration
getMinDate(): Date
Returns
getRangeDayCount Method
Declaration
getRangeDayCount(): number
Returns
getText Method
Declaration
getText(): string
Returns
getTimeEdit Method
Declaration
getTimeEdit(): BootstrapTimeEdit | null
Returns
hideDropDown Method
Declaration
hideDropDown(): void
off<K> Method
Declaration
off<K extends keyof BootstrapDateEditEventMap>(
eventName?: K,
callback?: (this: BootstrapDateEdit,
args?: BootstrapDateEditEventMap[K]) => void
): this
Parameters
Name |
Type |
eventName |
K |
callback |
(this: BootstrapDateEdit, args?: BootstrapDateEditEventMap[K]) => void |
Type Parameters
Returns
on<K>(eventName, callback) Method
Declaration
on<K extends keyof BootstrapDateEditEventMap>(
eventName: K,
callback: (this: BootstrapDateEdit,
args?: BootstrapDateEditEventMap[K]) => void
): this
Parameters
Name |
Type |
eventName |
K |
callback |
(this: BootstrapDateEdit, args?: BootstrapDateEditEventMap[K]) => void |
Type Parameters
Returns
once<K>(eventName, callback) Method
Declaration
once<K extends keyof BootstrapDateEditEventMap>(
eventName: K,
callback: (this: BootstrapDateEdit,
args?: BootstrapDateEditEventMap[K]) => void
): this
Parameters
Name |
Type |
eventName |
K |
callback |
(this: BootstrapDateEdit, args?: BootstrapDateEditEventMap[K]) => void |
Type Parameters
Returns
selectAll Method
Declaration
selectAll(): void
setButtonVisible(
number: number,
value: boolean
): void
Name |
Type |
number |
number |
value |
boolean |
setCaretPosition(position) Method
Declaration
setCaretPosition(
position: number
): void
Parameters
Name |
Type |
position |
number |
setDate(date) Method
Declaration
setDate(
date: Date
): void
Parameters
setMaxDate(date) Method
Declaration
setMaxDate(
date: Date
): void
Parameters
setMinDate(date) Method
Declaration
setMinDate(
date: Date
): void
Parameters
setSelection(
startPos: number,
endPos: number,
scrollToSelection: boolean
): void
Name |
Type |
startPos |
number |
endPos |
number |
scrollToSelection |
boolean |
setText(text) Method
Declaration
setText(
text: string
): void
Parameters
showDropDown Method
Declaration
showDropDown(): void