From 668b70fb7caf757f0a6326b2f6f5812a3e004b45 Mon Sep 17 00:00:00 2001 From: Patrick Marabeas Date: Fri, 30 Jan 2015 01:44:05 +1100 Subject: [PATCH] Add load delay descriptor --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index b558164..8fd3655 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,10 @@ The FitText directive will also watch the `ng-model` placed on the element, so g The `data-fittext-max=""` and `data-fittext-min=""` attributes respectfully limit the font size. This can also be set globally in the `fitTextConfigProvider` via `min` and `max`. +#### Custom fonts + +Fonts may take time to load in. If this is the case, you can use `data-fittext-load-delay=""` to specify the millisecond delay before size is initially calculated. + #### Debounce Because MODULARIZATION, this module doesn't come with debounce functionality included. Instead you will need to specify the functionality in the `fitTextConfigProvider`: