@override
(on)
| 1023 | |
| 1024 | /** @override */ |
| 1025 | setLightboxMode(on) { |
| 1026 | this.vsync_.mutate(() => { |
| 1027 | const root = this.getRoot(); |
| 1028 | if (on) { |
| 1029 | root.setAttribute(LIGHTBOX_MODE_ATTR, ''); |
| 1030 | } else { |
| 1031 | root.removeAttribute(LIGHTBOX_MODE_ATTR); |
| 1032 | } |
| 1033 | }); |
| 1034 | } |
| 1035 | |
| 1036 | /** |
| 1037 | * Synchronizes any attribute mutations done on the real body to the layer. |
nothing calls this directly
no test coverage detected