LED Smart Magnetic Human Body Sensor Light Set

$21.99  - $26.99
Style:  Yellow Light(Body Sensor Model)
Light Length:  14 cm
Quantity
/** @private {string} */ class SpzCustomAnchorScroll extends SPZ.BaseElement { static deferredMount() { return false; } constructor(element) { super(element); /** @private {Element} */ this.scrollableContainer_ = null; } isLayoutSupported(layout) { return layout == SPZCore.Layout.LOGIC; } buildCallback() { this.viewport_ = this.getViewport(); this.initActions_(); } setTarget(containerId, targetId) { this.containerId = '#' + containerId; this.targetId = '#' + targetId; } scrollToTarget() { const container = document.querySelector(this.containerId); const target = container.querySelector(this.targetId); const {scrollTop} = container; const eleOffsetTop = this.getOffsetTop_(target, container); this.viewport_ .interpolateScrollIntoView_( container, scrollTop, scrollTop + eleOffsetTop ); } initActions_() { this.registerAction( 'scrollToTarget', (invocation) => this.scrollToTarget(invocation?.caller) ); this.registerAction( 'setTarget', (invocation) => this.setTarget(invocation?.args?.containerId, invocation?.args?.targetId) ); } /** * @param {Element} element * @param {Element} container * @return {number} * @private */ getOffsetTop_(element, container) { if (!element./*OK*/ getClientRects().length) { return 0; } const rect = element./*OK*/ getBoundingClientRect(); if (rect.width || rect.height) { return rect.top - container./*OK*/ getBoundingClientRect().top; } return rect.top; } } SPZ.defineElement('spz-custom-anchor-scroll', SpzCustomAnchorScroll); const STRENGTHEN_TRUST_URL = "/api/strengthen_trust/settings"; class SpzCustomStrengthenTrust extends SPZ.BaseElement { constructor(element) { super(element); this.renderElement_ = null; } isLayoutSupported(layout) { return layout == SPZCore.Layout.CONTAINER; } buildCallback() { this.xhr_ = SPZServices.xhrFor(this.win); const renderId = this.element.getAttribute('render-id'); SPZCore.Dom.waitForChild( document.body, () => !!document.getElementById(renderId), () => { this.renderElement_ = SPZCore.Dom.scopedQuerySelector( document.body, `#${renderId}` ); if (this.renderElement_) { this.render_(); } this.registerAction('track', (invocation) => { this.track_(invocation.args); }); } ); } render_() { this.fetchData_().then((data) => { if (!data) { return; } SPZ.whenApiDefined(this.renderElement_).then((apis) => { apis?.render(data); document.querySelector('#strengthen-trust-render-1539149753700').addEventListener('click',(event)=>{ if(event.target.nodeName == 'A'){ this.track_({type: 'trust_content_click'}); } }) }); }); } track_(data = {}) { const track = window.sa && window.sa.track; if (!track) { return; } track('trust_enhancement_event', data); } parseJSON_(string) { let result = {}; try { result = JSON.parse(string); } catch (e) {} return result; } fetchData_() { return this.xhr_ .fetchJson(STRENGTHEN_TRUST_URL) .then((responseData) => { if (!responseData || !responseData.data) { return null; } const data = responseData.data; const moduleSettings = (data.module_settings || []).reduce((result, moduleSetting) => { return result.concat(Object.assign(moduleSetting, { logos: (moduleSetting.logos || []).map((item) => { return moduleSetting.logos_type == 'custom' ? this.parseJSON_(item) : item; }) })); }, []); return Object.assign(data, { module_settings: moduleSettings, isEditor: window.self !== window.top, }); }); } } SPZ.defineElement('spz-custom-strengthen-trust', SpzCustomStrengthenTrust);

Description

FEATURES

0-SECOND INDUCTION: Experience instant activation with our 0-second induction feature, ensuring that the light turns on immediately when you enter the room. Never fumble in the dark again!

THREE-COLOR STEPLESS DIMMING: Customize your lighting with three-color stepless dimming. Whether you need bright light for studying or soft illumination for relaxation, this light adapts perfectly to your needs.

LONG BATTERY LIFE: Enjoy extended usage with our long battery life. Designed for efficiency, this light keeps shining for hours, making it ideal for overnight use without constant recharging.

EASY INSTALLATION: Installation is a breeze! With options for magnetic attachment or handheld use, you can place this light anywhere you need it without hassle or complex setups.

WIDE RANGE OF APPLICATIONS: Perfect for various settings, from wardrobes to dorm rooms, this versatile light enhances your living space. Use it in bedrooms, offices, or anywhere you need extra illumination.

SPEC

Style: Yellow Light (Body Sensor Model), Tri-Color Light (Push Button Model)

Length: 14 CM, 26 CM

Battery Capacity: 500 mAh (14 CM), 1200 mAh (26 CM)

Lampshade Material: Plastic

Rated Voltage: 5 V

Rated Power: 3 W

Charging Time: 2-3 H

Sensing Distance: 3 M

Sensing Angle: 120° Wide Angle Sensing

Size: As Shown

Package Includes: 1* Light+1* Charging Cable

NOTES

Please allow a small error due to manual measurement. Please make sure you do not mind before purchasing.

Color may not appear as exactly as in real life due to variations between the computer monitors.