47 lines
1.4 KiB
JavaScript
47 lines
1.4 KiB
JavaScript
'use strict';
|
|
|
|
import { ReanimatedModule } from '../../ReanimatedModule';
|
|
// COMMON
|
|
|
|
export function setViewStyle(viewTag, style) {
|
|
ReanimatedModule.setViewStyle(viewTag, style);
|
|
}
|
|
export function markNodeAsRemovable(shadowNodeWrapper) {
|
|
ReanimatedModule.markNodeAsRemovable(shadowNodeWrapper);
|
|
}
|
|
export function unmarkNodeAsRemovable(viewTag) {
|
|
ReanimatedModule.unmarkNodeAsRemovable(viewTag);
|
|
}
|
|
|
|
// ANIMATIONS
|
|
|
|
// Keyframes
|
|
|
|
export function registerCSSKeyframes(animationName, viewName, keyframesConfig) {
|
|
ReanimatedModule.registerCSSKeyframes(animationName, viewName, keyframesConfig);
|
|
}
|
|
export function unregisterCSSKeyframes(animationName, viewName) {
|
|
ReanimatedModule.unregisterCSSKeyframes(animationName, viewName);
|
|
}
|
|
|
|
// View animations
|
|
|
|
export function applyCSSAnimations(shadowNodeWrapper, animationUpdates) {
|
|
ReanimatedModule.applyCSSAnimations(shadowNodeWrapper, animationUpdates);
|
|
}
|
|
export function unregisterCSSAnimations(viewTag) {
|
|
ReanimatedModule.unregisterCSSAnimations(viewTag);
|
|
}
|
|
|
|
// TRANSITIONS
|
|
|
|
export function registerCSSTransition(shadowNodeWrapper, transitionConfig) {
|
|
ReanimatedModule.registerCSSTransition(shadowNodeWrapper, transitionConfig);
|
|
}
|
|
export function updateCSSTransition(viewTag, configUpdates) {
|
|
ReanimatedModule.updateCSSTransition(viewTag, configUpdates);
|
|
}
|
|
export function unregisterCSSTransition(viewTag) {
|
|
ReanimatedModule.unregisterCSSTransition(viewTag);
|
|
}
|
|
//# sourceMappingURL=proxy.js.map
|