Lines Matching refs:overlay

21230 	Overlays.prototype.add = function(element, type, overlay) {  argument
21233 overlay = type;
21241 if (!overlay.position) {
21245 if (!overlay.html) {
21255 overlay = assign({}, this._overlayDefaults, overlay, {
21259 html: overlay.html
21262 this._addOverlay(overlay);
21286 forEach(overlays, function(overlay) { argument
21288 var container = self._getOverlayContainer(overlay.element, true);
21290 if (overlay) {
21291 remove$2(overlay.html);
21292 remove$2(overlay.htmlContainer);
21294 delete overlay.htmlContainer;
21295 delete overlay.element;
21297 delete self._overlays[overlay.id];
21301 var idx = container.overlays.indexOf(overlay);
21350 Overlays.prototype._updateOverlay = function(overlay) { argument
21352 var position = overlay.position,
21353 htmlContainer = overlay.htmlContainer,
21354 element = overlay.element;
21444 Overlays.prototype._addOverlay = function(overlay) { argument
21446 var id = overlay.id,
21447 element = overlay.element,
21448 html = overlay.html,
21469 if (overlay.type) {
21470 classes$1(htmlContainer).add('djs-overlay-' + overlay.type);
21475 overlay.plane = plane;
21480 overlay.htmlContainer = htmlContainer;
21482 overlayContainer.overlays.push(overlay);
21485 this._overlays[id] = overlay;
21487 this._updateOverlay(overlay);
21488 this._updateOverlayVisibilty(overlay, this._canvas.viewbox());
21492 Overlays.prototype._updateOverlayVisibilty = function(overlay, viewbox) { argument
21493 var show = overlay.show,
21496 htmlContainer = overlay.htmlContainer,
21510 this._updateOverlayScale(overlay, viewbox);
21514 Overlays.prototype._updateOverlayScale = function(overlay, viewbox) { argument
21515 var shouldScale = overlay.scale,
21518 htmlContainer = overlay.htmlContainer;
21553 forEach(this._overlays, function(overlay) { argument
21554 self._updateOverlayVisibilty(overlay, viewbox);
21614 forEach(container.overlays, function(overlay) { argument
21615 self._updateOverlay(overlay);
57224 var overlay = constructOverlay(box);
57225 this._overlayId = this._overlays.add(element, overlay);