From eb821bbef5de5b1b50593412afdab382bea7c7ca Mon Sep 17 00:00:00 2001 From: Ching Yaw Hao Date: Tue, 28 Jun 2016 12:04:37 +0800 Subject: [PATCH] Added updateTextFields() to materialize css --- materialize-css/materialize-css.d.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/materialize-css/materialize-css.d.ts b/materialize-css/materialize-css.d.ts index 3459772c5f..34f32bb8e0 100644 --- a/materialize-css/materialize-css.d.ts +++ b/materialize-css/materialize-css.d.ts @@ -89,7 +89,7 @@ declare namespace Materialize { * Default: 400 */ height?: number; - +https://github.com/chingyawhao/DefinitelyTyped.git /** * Set the duration of the transition animation in ms. * Default: 500 @@ -319,6 +319,11 @@ declare namespace Materialize { * @name selector the selector for the image to fade in */ fadeInImage(selector:string): void; + + /** + * Update all text field to reinitialize all the Materialize labels on the page if dynamically adding inputs + */ + updateTextFields(): void; } }