~highlight
~highlight: {
defaultConfig: {
cssClasses: {
toAddOnStart: ["wbmtr-highlightable"];
};
};
immutableConfig: {};
generateKeyframeGenerators(color?: string): {
backwardGenerator: (() => ({
--wbmtr-highlight-color: string;
backgroundPositionX?: undefined;
easing: string;
offset?: undefined;
} | {
--wbmtr-highlight-color?: undefined;
backgroundPositionX: string;
easing?: undefined;
offset: number;
} | {
--wbmtr-highlight-color: string;
backgroundPositionX?: undefined;
easing?: undefined;
offset?: undefined;
})[]);
forwardGenerator: (() => ({
--wbmtr-highlight-color: string;
backgroundPositionX?: undefined;
easing: string;
offset?: undefined;
} | {
--wbmtr-highlight-color?: undefined;
backgroundPositionX: string;
easing?: undefined;
offset: number;
} | {
--wbmtr-highlight-color: string;
backgroundPositionX?: undefined;
easing?: undefined;
offset?: undefined;
})[]);
};
} = ...
Type declaration
defaultConfig: {
cssClasses: {
toAddOnStart: ["wbmtr-highlightable"];
};
}
Readonly
cssClasses: {
toAddOnStart: ["wbmtr-highlightable"];
}
Readonly
toAddOnStart: ["wbmtr-highlightable"]
immutableConfig: {}
generateKeyframeGenerators:function
- generateKeyframeGenerators(color?): {
backwardGenerator: (() => ({
--wbmtr-highlight-color: string;
backgroundPositionX?: undefined;
easing: string;
offset?: undefined;
} | {
--wbmtr-highlight-color?: undefined;
backgroundPositionX: string;
easing?: undefined;
offset: number;
} | {
--wbmtr-highlight-color: string;
backgroundPositionX?: undefined;
easing?: undefined;
offset?: undefined;
})[]);
forwardGenerator: (() => ({
--wbmtr-highlight-color: string;
backgroundPositionX?: undefined;
easing: string;
offset?: undefined;
} | {
--wbmtr-highlight-color?: undefined;
backgroundPositionX: string;
easing?: undefined;
offset: number;
} | {
--wbmtr-highlight-color: string;
backgroundPositionX?: undefined;
easing?: undefined;
offset?: undefined;
})[]);
} Parameters
- color: string = 'default'
Returns {
backwardGenerator: (() => ({
--wbmtr-highlight-color: string;
backgroundPositionX?: undefined;
easing: string;
offset?: undefined;
} | {
--wbmtr-highlight-color?: undefined;
backgroundPositionX: string;
easing?: undefined;
offset: number;
} | {
--wbmtr-highlight-color: string;
backgroundPositionX?: undefined;
easing?: undefined;
offset?: undefined;
})[]);
forwardGenerator: (() => ({
--wbmtr-highlight-color: string;
backgroundPositionX?: undefined;
easing: string;
offset?: undefined;
} | {
--wbmtr-highlight-color?: undefined;
backgroundPositionX: string;
easing?: undefined;
offset: number;
} | {
--wbmtr-highlight-color: string;
backgroundPositionX?: undefined;
easing?: undefined;
offset?: undefined;
})[]);
}
backwardGenerator: (() => ({
--wbmtr-highlight-color: string;
backgroundPositionX?: undefined;
easing: string;
offset?: undefined;
} | {
--wbmtr-highlight-color?: undefined;
backgroundPositionX: string;
easing?: undefined;
offset: number;
} | {
--wbmtr-highlight-color: string;
backgroundPositionX?: undefined;
easing?: undefined;
offset?: undefined;
})[])
- (): ({
--wbmtr-highlight-color: string;
backgroundPositionX?: undefined;
easing: string;
offset?: undefined;
} | {
--wbmtr-highlight-color?: undefined;
backgroundPositionX: string;
easing?: undefined;
offset: number;
} | {
--wbmtr-highlight-color: string;
backgroundPositionX?: undefined;
easing?: undefined;
offset?: undefined;
})[] Returns ({
--wbmtr-highlight-color: string;
backgroundPositionX?: undefined;
easing: string;
offset?: undefined;
} | {
--wbmtr-highlight-color?: undefined;
backgroundPositionX: string;
easing?: undefined;
offset: number;
} | {
--wbmtr-highlight-color: string;
backgroundPositionX?: undefined;
easing?: undefined;
offset?: undefined;
})[]
forwardGenerator: (() => ({
--wbmtr-highlight-color: string;
backgroundPositionX?: undefined;
easing: string;
offset?: undefined;
} | {
--wbmtr-highlight-color?: undefined;
backgroundPositionX: string;
easing?: undefined;
offset: number;
} | {
--wbmtr-highlight-color: string;
backgroundPositionX?: undefined;
easing?: undefined;
offset?: undefined;
})[])
- (): ({
--wbmtr-highlight-color: string;
backgroundPositionX?: undefined;
easing: string;
offset?: undefined;
} | {
--wbmtr-highlight-color?: undefined;
backgroundPositionX: string;
easing?: undefined;
offset: number;
} | {
--wbmtr-highlight-color: string;
backgroundPositionX?: undefined;
easing?: undefined;
offset?: undefined;
})[] Returns ({
--wbmtr-highlight-color: string;
backgroundPositionX?: undefined;
easing: string;
offset?: undefined;
} | {
--wbmtr-highlight-color?: undefined;
backgroundPositionX: string;
easing?: undefined;
offset: number;
} | {
--wbmtr-highlight-color: string;
backgroundPositionX?: undefined;
easing?: undefined;
offset?: undefined;
})[]
~un-highlight
~un-highlight: {
defaultConfig: {
cssClasses: {
toRemoveOnFinish: ["wbmtr-highlightable"];
};
};
immutableConfig: {};
generateKeyframes(): {
forwardFrames: [{
backgroundPositionX: "0%";
}, {
backgroundPositionX: "100%";
}];
};
} = ...
Type declaration
defaultConfig: {
cssClasses: {
toRemoveOnFinish: ["wbmtr-highlightable"];
};
}
Readonly
cssClasses: {
toRemoveOnFinish: ["wbmtr-highlightable"];
}
Readonly
toRemoveOnFinish: ["wbmtr-highlightable"]
immutableConfig: {}
generateKeyframes:function
- generateKeyframes(): {
forwardFrames: [{
backgroundPositionX: "0%";
}, {
backgroundPositionX: "100%";
}];
} Returns {
forwardFrames: [{
backgroundPositionX: "0%";
}, {
backgroundPositionX: "100%";
}];
}
Readonly
forwardFrames: [{
backgroundPositionX: "0%";
}, {
backgroundPositionX: "100%";
}]
Typings for the preset emphasis animation effects that come with the library's emphasis bank.