Your IP : 216.73.216.86


Current Path : /var/www/homesaver/www/bitrix/js/location/widget/src/address/features/
Upload File :
Current File : /var/www/homesaver/www/bitrix/js/location/widget/src/address/features/basefeature.js

import {Address, MethodNotImplemented} from "location.core";
import MapPopup from "../../mappopup/mappopup";

/**
 * Base class for the address widget feature
 */
export default class BaseFeature
{
	_saveResourceStrategy = false;

	constructor(props)
	{
		this._saveResourceStrategy = props.saveResourceStrategy;
	}

	render(props)
	{
		throw new MethodNotImplemented('Method render must be implemented');
	}

	setAddressWidget(addressWidget): void
	{
		throw new MethodNotImplemented('Method render must be implemented');
	}

	setAddress(address: Address): void
	{
		throw new MethodNotImplemented('Method set address must be implemented');
	}

	setMode(mode: string): void
	{

	}

	destroy(): void
	{

	}

	resetView(): void
	{

	}
}