mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Merge pull request #32677 from fiznool/material-textfield-native-validation
add useNativeValidation to material__textfield
This commit is contained in:
+2
@@ -71,6 +71,8 @@ export default class MDCTextFieldFoundation extends MDCFoundation<MDCTextFieldAd
|
||||
|
||||
setValid(isValid: boolean): void;
|
||||
|
||||
setUseNativeValidation(useNativeValidation: boolean): void;
|
||||
|
||||
isDisabled(): boolean;
|
||||
|
||||
setDisabled(disabled: boolean): void;
|
||||
|
||||
Vendored
+8
@@ -78,4 +78,12 @@ export class MDCTextField extends MDCComponent<MDCTextFieldAdapter, MDCTextField
|
||||
* Recomputes the outline SVG path for the outline element.
|
||||
*/
|
||||
layout(): void;
|
||||
|
||||
/**
|
||||
* Ideally we would use a 'writeonly' modifier here since this is a setter,
|
||||
* but such a thing does not exist.
|
||||
* https://github.com/Microsoft/TypeScript/issues/4839
|
||||
* https://github.com/Microsoft/TypeScript/issues/21759
|
||||
*/
|
||||
useNativeValidation: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user