shadowDomSelector

Path: rsConf.general.shadowDomSelector

Default: null

Description: To enable reading content from a shadow DOM, it needs to be defined in the general.shadowDomSelector configuration. The value should be a selector string, that points out all shadow root elements that should be included in the reading. Any shadow DOM that can't be matched by this selector will be ignored.

Example:

window.rsConf = {
	general: {
		shadowDomSelector: ‘my-custom-widget’
	}
};