Variable libPresetEmphasesConst
libPresetEmphases: {
~highlight: {
defaultConfig: {
cssClasses: {
toAddOnStart: ["webchalk-highlightable"];
};
};
effectCompositionFrequency: "on-every-play";
immutableConfig: {
composite: "replace";
};
composeEffect(color?: string): {
backwardKeyframesGenerator: (() => ({
--webchalk-highlight-color: string;
backgroundPositionX?: undefined;
easing: string;
offset?: undefined;
} | {
--webchalk-highlight-color?: undefined;
backgroundPositionX: string;
easing?: undefined;
offset: number;
} | {
--webchalk-highlight-color: string;
backgroundPositionX?: undefined;
easing?: undefined;
offset?: undefined;
})[]);
forwardKeyframesGenerator: (() => ({
--webchalk-highlight-color: string;
backgroundPositionX?: undefined;
easing: string;
offset?: undefined;
} | {
--webchalk-highlight-color?: undefined;
backgroundPositionX: string;
easing?: undefined;
offset: number;
} | {
--webchalk-highlight-color: string;
backgroundPositionX?: undefined;
easing?: undefined;
offset?: undefined;
})[]);
};
};
~un-highlight: {
defaultConfig: {
cssClasses: {
toRemoveOnFinish: ["webchalk-highlightable"];
};
};
effectCompositionFrequency: "on-every-play";
immutableConfig: {
composite: "replace";
};
composeEffect(): {
forwardKeyframesGenerator: (() => {
backgroundPositionX: string;
}[]);
};
};
} = ...
Type declaration
~highlight: {
defaultConfig: {
cssClasses: {
toAddOnStart: ["webchalk-highlightable"];
};
};
effectCompositionFrequency: "on-every-play";
immutableConfig: {
composite: "replace";
};
composeEffect(color?: string): {
backwardKeyframesGenerator: (() => ({
--webchalk-highlight-color: string;
backgroundPositionX?: undefined;
easing: string;
offset?: undefined;
} | {
--webchalk-highlight-color?: undefined;
backgroundPositionX: string;
easing?: undefined;
offset: number;
} | {
--webchalk-highlight-color: string;
backgroundPositionX?: undefined;
easing?: undefined;
offset?: undefined;
})[]);
forwardKeyframesGenerator: (() => ({
--webchalk-highlight-color: string;
backgroundPositionX?: undefined;
easing: string;
offset?: undefined;
} | {
--webchalk-highlight-color?: undefined;
backgroundPositionX: string;
easing?: undefined;
offset: number;
} | {
--webchalk-highlight-color: string;
backgroundPositionX?: undefined;
easing?: undefined;
offset?: undefined;
})[]);
};
}
defaultConfig: {
cssClasses: {
toAddOnStart: ["webchalk-highlightable"];
};
}
Readonly
cssClasses: {
toAddOnStart: ["webchalk-highlightable"];
}
Readonly
toAddOnStart: ["webchalk-highlightable"]
effectCompositionFrequency: "on-every-play"
immutableConfig: {
composite: "replace";
}
Readonly
composite: "replace"
composeEffect:function
- composeEffect(color?): {
backwardKeyframesGenerator: (() => ({
--webchalk-highlight-color: string;
backgroundPositionX?: undefined;
easing: string;
offset?: undefined;
} | {
--webchalk-highlight-color?: undefined;
backgroundPositionX: string;
easing?: undefined;
offset: number;
} | {
--webchalk-highlight-color: string;
backgroundPositionX?: undefined;
easing?: undefined;
offset?: undefined;
})[]);
forwardKeyframesGenerator: (() => ({
--webchalk-highlight-color: string;
backgroundPositionX?: undefined;
easing: string;
offset?: undefined;
} | {
--webchalk-highlight-color?: undefined;
backgroundPositionX: string;
easing?: undefined;
offset: number;
} | {
--webchalk-highlight-color: string;
backgroundPositionX?: undefined;
easing?: undefined;
offset?: undefined;
})[]);
} Parameters
- color: string = 'default'
Returns {
backwardKeyframesGenerator: (() => ({
--webchalk-highlight-color: string;
backgroundPositionX?: undefined;
easing: string;
offset?: undefined;
} | {
--webchalk-highlight-color?: undefined;
backgroundPositionX: string;
easing?: undefined;
offset: number;
} | {
--webchalk-highlight-color: string;
backgroundPositionX?: undefined;
easing?: undefined;
offset?: undefined;
})[]);
forwardKeyframesGenerator: (() => ({
--webchalk-highlight-color: string;
backgroundPositionX?: undefined;
easing: string;
offset?: undefined;
} | {
--webchalk-highlight-color?: undefined;
backgroundPositionX: string;
easing?: undefined;
offset: number;
} | {
--webchalk-highlight-color: string;
backgroundPositionX?: undefined;
easing?: undefined;
offset?: undefined;
})[]);
}
backwardKeyframesGenerator: (() => ({
--webchalk-highlight-color: string;
backgroundPositionX?: undefined;
easing: string;
offset?: undefined;
} | {
--webchalk-highlight-color?: undefined;
backgroundPositionX: string;
easing?: undefined;
offset: number;
} | {
--webchalk-highlight-color: string;
backgroundPositionX?: undefined;
easing?: undefined;
offset?: undefined;
})[])
- (): ({
--webchalk-highlight-color: string;
backgroundPositionX?: undefined;
easing: string;
offset?: undefined;
} | {
--webchalk-highlight-color?: undefined;
backgroundPositionX: string;
easing?: undefined;
offset: number;
} | {
--webchalk-highlight-color: string;
backgroundPositionX?: undefined;
easing?: undefined;
offset?: undefined;
})[] Returns ({
--webchalk-highlight-color: string;
backgroundPositionX?: undefined;
easing: string;
offset?: undefined;
} | {
--webchalk-highlight-color?: undefined;
backgroundPositionX: string;
easing?: undefined;
offset: number;
} | {
--webchalk-highlight-color: string;
backgroundPositionX?: undefined;
easing?: undefined;
offset?: undefined;
})[]
forwardKeyframesGenerator: (() => ({
--webchalk-highlight-color: string;
backgroundPositionX?: undefined;
easing: string;
offset?: undefined;
} | {
--webchalk-highlight-color?: undefined;
backgroundPositionX: string;
easing?: undefined;
offset: number;
} | {
--webchalk-highlight-color: string;
backgroundPositionX?: undefined;
easing?: undefined;
offset?: undefined;
})[])
- (): ({
--webchalk-highlight-color: string;
backgroundPositionX?: undefined;
easing: string;
offset?: undefined;
} | {
--webchalk-highlight-color?: undefined;
backgroundPositionX: string;
easing?: undefined;
offset: number;
} | {
--webchalk-highlight-color: string;
backgroundPositionX?: undefined;
easing?: undefined;
offset?: undefined;
})[] Returns ({
--webchalk-highlight-color: string;
backgroundPositionX?: undefined;
easing: string;
offset?: undefined;
} | {
--webchalk-highlight-color?: undefined;
backgroundPositionX: string;
easing?: undefined;
offset: number;
} | {
--webchalk-highlight-color: string;
backgroundPositionX?: undefined;
easing?: undefined;
offset?: undefined;
})[]
~un-highlight: {
defaultConfig: {
cssClasses: {
toRemoveOnFinish: ["webchalk-highlightable"];
};
};
effectCompositionFrequency: "on-every-play";
immutableConfig: {
composite: "replace";
};
composeEffect(): {
forwardKeyframesGenerator: (() => {
backgroundPositionX: string;
}[]);
};
}
defaultConfig: {
cssClasses: {
toRemoveOnFinish: ["webchalk-highlightable"];
};
}
Readonly
cssClasses: {
toRemoveOnFinish: ["webchalk-highlightable"];
}
Readonly
toRemoveOnFinish: ["webchalk-highlightable"]
effectCompositionFrequency: "on-every-play"
immutableConfig: {
composite: "replace";
}
Readonly
composite: "replace"
composeEffect:function
- composeEffect(): {
forwardKeyframesGenerator: (() => {
backgroundPositionX: string;
}[]);
} Returns {
forwardKeyframesGenerator: (() => {
backgroundPositionX: string;
}[]);
}
Readonly
forwardKeyframesGenerator: (() => {
backgroundPositionX: string;
}[])
- (): {
backgroundPositionX: string;
}[] Returns {
backgroundPositionX: string;
}[]
Element is highlighted in the specified color.