reflectAttributes() {
		const reflector = (propertyDeclaration, propertyKey) => {
			if (!propertyDeclaration.reflect || typeof propertyKey !== 'string') { return; }

			const { prop2attr = identity } = propertyDeclaration;
			const prop = prop2attr.call(this, this[propertyKey]);

			if (prop === null) { this.removeAttribute(propertyKey); }
			else { this.setAttribute(propertyKey, prop); }
		};

		this.constructor.classProperties.forEach(reflector);
	}
/**
	 * Sets or removes attributes of the component, based on the 'reflect' flag of the property.
	 *
	 * @protected
	 * @memberof BaseElement
	 */
Sets or removes attributes of the component, based on the 'reflect' flag of the property.
Sets or removes attributes of the component based on the ' reflect ' flag of the property .
reflectAttributes() {
		const reflector = (propertyDeclaration, propertyKey) => {
			if (!propertyDeclaration.reflect || typeof propertyKey !== 'string') { return; }
			const { prop2attr = identity } = propertyDeclaration;
			const prop = prop2attr.call(this, this[propertyKey]);
			if (prop === null) { this.removeAttribute(propertyKey); }
			else { this.setAttribute(propertyKey, prop); }
		};
		this.constructor.classProperties.forEach(reflector);
	}
reflectAttributes ( ) { const reflector = ( propertyDeclaration , propertyKey ) => { if ( ! propertyDeclaration . reflect || typeof propertyKey !== 'string' ) { return ; } const { prop2attr = identity } = propertyDeclaration ; const prop = prop2attr . call ( this , this [ propertyKey ] ) ; if ( prop === null ) { this . removeAttribute ( propertyKey ) ; } else { this . setAttribute ( propertyKey , prop ) ; } } ; this . constructor . classProperties . forEach ( reflector ) ; }
Sets or removes attributes of the component, based on the 'reflect' flag of the property.
Sets or removes attributes of the component based on the ' reflect ' flag of the property .