Lines Matching refs:img

28 	function addLogo(img, title, mode, clientName, labels, clientFn)  argument
64 if (img != null)
67 logo.setAttribute('src', img);
837 var img = document.createElement('img');
838 img.setAttribute('src', Editor.facebookImage);
839 img.setAttribute('width', '18');
840 img.setAttribute('height', '18');
841 img.setAttribute('border', '0');
843 fbBtn.appendChild(img);
870 var img = document.createElement('img');
871 img.setAttribute('src', Editor.tweetImage);
872 img.setAttribute('width', '18');
873 img.setAttribute('height', '18');
874 img.setAttribute('border', '0');
875 img.style.marginBottom = '5px'
877 tweetBtn.appendChild(img);
1517 var BackgroundImageDialog = function(editorUi, applyFn, img) argument
1527 var isPageLink = img != null && img.originalSrc != null;
1546 urlInput.value = (isPageLink || img == null) ? '' : img.src;
1566 if (img != null && img.originalSrc == pageOption.getAttribute('value'))
1602 editorUi.loadImage(urlInput.value, function(img) argument
1604 widthInput.value = img.width;
1605 heightInput.value = img.height;
1756 widthInput.value = (img != null && !isPageLink) ? img.width : '';
1767 heightInput.value = (img != null && !isPageLink) ? img.height : '';
3201 var img = document.createElement('img');
3202 img.setAttribute('src', imgUrl);
3203 img.setAttribute('alt', tooltip);
3204 img.style.maxWidth = w + 'px';
3205 img.style.maxHeight = h + 'px';
3208 elt.appendChild(img);
3210 img.onerror = function()
4084 function addLogo(img, title, mode, clientName) argument
4090 logo.src = img;
4640 editorUi.loadImage(newValue, function(img) argument
4645 (w != null && h != null) ? Math.max(w / img.width, h / img.height) :
4646 Math.min(1, Math.min(maxSize / img.width, maxSize / img.height));
4655 fn(newValue, Math.round(Number(img.width) * s), Math.round(Number(img.height) * s));
5262 var img = document.createElement('img');
5263 img.style.height = '26px';
5264 img.style.width = '26px';
5265 img.setAttribute('src', src);
5268 btn.appendChild(img);
7690 var img = document.createElement('img');
7691 img.setAttribute('border', '0');
7692 img.setAttribute('align', 'absmiddle');
7693 img.style.marginRight = '10px';
7698 img.src = IMAGE_PATH + '/google-drive-logo-white.svg';
7703 img.src = IMAGE_PATH + '/dropbox-logo-white.svg';
7708 img.src = IMAGE_PATH + '/onedrive-logo-white.svg';
7713 img.src = IMAGE_PATH + '/github-logo-white.svg';
7718 img.src = IMAGE_PATH + '/gitlab-logo.svg';
7719 img.style.width = '32px';
7724 img.src = IMAGE_PATH + '/notion-logo-white.svg';
7725 img.style.width = '32px';
7730 img.src = IMAGE_PATH + '/trello-logo-white.svg';
7744 button.insertBefore(img, button.firstChild);
8239 var img = document.createElement('span');
8240 img.className = 'geSprite geSprite-delete';
8241 img.style.position = 'relative';
8242 img.style.cursor = 'pointer';
8243 img.style.top = '5px';
8244 img.style.marginRight = '4px';
8245 img.style.display = 'inline-block';
8246 span.appendChild(img);
8253 mxEvent.addListener(img, 'click', (function(index)
8967 function addButton(data, mimeType, x, y, w, h, img, aspect, title) argument
8976 if ((data == null && img != null) || entries[data] == null)
9024 else if (img != null)
9026 var cells = editorUi.stringToCells(Graph.decompress(img.xml));
9087 })(wrapper, data, img);
9116 else if (img != null)
9118 img.aspect = 'fixed';
9119 images.push(img);
9120 entry = img;
9228 if (data == null && img != null)
9235 if (mxClient.IS_FF && img.xml != null)
9237 evt.dataTransfer.setData('Text', img.xml);
9344 var img = initialImages[i];
9345 addButton(img.data, null, 0, 0, img.w, img.h, img, img.aspect, img.title);
9377 return function(data, mimeType, x, y, w, h, img, doneFn, file) argument
9383 addButton(xml, mimeType, x, y, w, h, img, 'fixed', (mxEvent.isAltDown(evt)) ?
9384 null : img.substring(0, img.lastIndexOf('.')).replace(/_/g, ' '));
9398 addButton(xml, mimeType, x, y, w, h, img, 'fixed', (mxEvent.isAltDown(evt)) ?
9399 null : img.substring(0, img.lastIndexOf('.')).replace(/_/g, ' '));
9407 addButton(data, mimeType, x, y, w, h, img, 'fixed', (mxEvent.isAltDown(evt)) ?
9408 null : img.substring(0, img.lastIndexOf('.')).replace(/_/g, ' '));
9446 editorUi.loadImage(uri, function(img) argument
9448 addButton(uri, null, 0, 0, img.width, img.height);
9565 …leInput.files, 0, 0, editorUi.maxImageSize, function(data, mimeType, x, y, w, h, img, doneFn, file) argument
9569 createImportHandler(evt)(data, mimeType, x, y, w, h, img, doneFn, file);
10150 function createPreview(diagram, elt, img, evt) argument
10246 img.src = '/images/aui-wait.gif';
10256 img.src = '/images/icon-search.svg';
10265 img.src = '/images/icon-search.svg';
10580 var img = document.createElement('img');
10581 img.style.display = "none";
10585 img.onload = function()
10591 img.onerror = function()
10602 …})(img, imgDiv, imgUrl? imgUrl.replace('.drawio.xml', '').replace('.drawio', '').replace('.xml', '…
10604 img.src = imgUrl;
10605 imgDiv.appendChild(img);
10698 var img = document.createElement('img');
10699 img.src = NEW_DIAGRAM_CATS_PATH + '/' + cat.img;
10700 imgDiv.appendChild(img);
11109 newDiagramCats.push({img: node.getAttribute('img'), libs: node.getAttribute('libs'),
11423 var img = document.createElement('img');
11424 img.setAttribute('border', '0');
11425 img.setAttribute('align', 'absmiddle');
11426 img.style.marginRight = '10px';
11431 img.src = IMAGE_PATH + '/google-drive-logo-white.svg';
11436 img.src = IMAGE_PATH + '/dropbox-logo-white.svg';
11441 img.src = IMAGE_PATH + '/onedrive-logo-white.svg';
11446 img.src = IMAGE_PATH + '/github-logo-white.svg';
11451 img.src = IMAGE_PATH + '/gitlab-logo.svg';
11456 img.src = IMAGE_PATH + '/notion-logo.svg';
11461 img.src = IMAGE_PATH + '/trello-logo-white.svg';
11469 button.insertBefore(img, button.firstChild);