startTabSynching()
Othent JS SDK startTabSynching() function
API
startTabSynching(): void;Example usage
import { Othent } from "@othent/kms";
const MyComponent = () => {
const othent = useMemo(() => {
return new Othent(options);
}, [options]);
useEffect(() => {
const cleanupFn = othent.startTabSynching();
return () => {
cleanupFn();
};
}, [othent]);
}Last updated