Lines Matching refs:attachment
30 * Bubble attachment side.
133 * Sets the attachment of the bubble.
134 * @param {!Attachment} attachment Bubble attachment.
136 setAttachment_: function(attachment) {
139 this.classList.toggle(v, v == attachment);
146 * @param {!Attachment} attachment Bubble attachment (on which side of the
152 showContentAt_: function(pos, attachment, opt_content) {
163 this.setAttachment_(attachment);
171 * @param {!Attachment} attachment Bubble attachment (on which side of the
176 showForElement: function(el, attachment, opt_offset, opt_padding) {
178 el, attachment, undefined, opt_offset, opt_padding);
184 * @param {!Attachment} attachment Bubble attachment (on which side of the
188 * @param {number=} opt_offset Offset of the bubble attachment point from
189 * left (for vertical attachment) or top (for horizontal attachment)
195 showContentForElement: function(el, attachment, opt_content,
211 switch (attachment) {
230 switch (attachment) {
251 this.showContentAt_(pos, attachment, opt_content);
258 * @param {!Attachment} attachment Bubble attachment (on which side of the
260 * @param {number=} opt_offset Offset of the bubble attachment point from
261 * left (for vertical attachment) or top (for horizontal attachment)
267 showTextForElement: function(el, text, attachment,
271 this.showContentForElement(el, attachment, span, opt_offset, opt_padding);