import { DynamicItemExtensionBase } from '@anglr/dynamic';
//TODO: id use id setter extension
/**
 * Extension that sets custom component data to instance
 */
export class ListBlockDataExtension extends DynamicItemExtensionBase {
    //######################### public methods - overrides #########################
    /**
     * @inheritdoc
     */
    async onInit() {
        if (this.instance) {
            this.instance.setId(this.metadata.id);
        }
    }
}
//# sourceMappingURL=listBlockData.extension.js.map