/* global BaseIcon */ 'use strict'; (function(exports) { var BluetoothIcon = function(manager) { BaseIcon.call(this, manager); }; BluetoothIcon.prototype = Object.create(BaseIcon.prototype); BluetoothIcon.prototype.name = 'BluetoothIcon'; BluetoothIcon.prototype.update = function() { var icon = this.element; if (!icon) { return; } this.manager.isEnabled ? this.show() : this.hide(); icon.dataset.active = this.manager.connected; this.updateLabel('bluetooth', this.manager.connected); }; BluetoothIcon.prototype.view = function view() { return `
`; }; exports.BluetoothIcon = BluetoothIcon; }(window));