@hortonstudio/main 1.1.9 → 1.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/animations/hero.js +4 -2
- package/package.json +1 -1
package/animations/hero.js
CHANGED
@@ -265,9 +265,10 @@ export async function init() {
|
|
265
265
|
elementsClass = 'chars';
|
266
266
|
} else if (splitType === 'line') {
|
267
267
|
splitConfig = {
|
268
|
-
type: "lines",
|
268
|
+
type: "lines,words",
|
269
269
|
mask: "lines",
|
270
270
|
linesClass: "line",
|
271
|
+
wordsClass: "word",
|
271
272
|
reduceWhiteSpace: false
|
272
273
|
};
|
273
274
|
elementsClass = 'lines';
|
@@ -309,9 +310,10 @@ export async function init() {
|
|
309
310
|
elementsClass = 'chars';
|
310
311
|
} else if (splitType === 'line') {
|
311
312
|
splitConfig = {
|
312
|
-
type: "lines",
|
313
|
+
type: "lines,words",
|
313
314
|
mask: "lines",
|
314
315
|
linesClass: "line",
|
316
|
+
wordsClass: "word",
|
315
317
|
reduceWhiteSpace: false
|
316
318
|
};
|
317
319
|
elementsClass = 'lines';
|