Lines Matching refs:content
32 * The tooltip content. This can either be a String, Node, or a simple
36 content : {
167 * Helper method to extract the content for the tooltip of the given
170 * a). The given node's 'content' attribute value, if set:
183 var content = this.get('content');
184 if (content) {
185 if (Lang.isFunction(content)) {
186 content = content(node, this);
187 } else if (Y.Lang.isArray(content)) {
188 content = content[node.get('id')];
189 } else if (!(content instanceof Node || Y.Lang.isString(content))) {
190 content = null;
193 if (!content) {
194 content = node.getAttribute('title');
196 return content;
200 * set the content of the tooltip for the current trigger node. This
201 * implementation uses {#getTooltipContent} to extract the content to
205 var l, content = this.getTooltipContent(node),
208 if (content) {
209 if (content instanceof Node) {
210 contentBox.appendChild(content);
211 } else if (Lang.isString(content)) {
212 contentBox.set('innerHTML',content);
297 * content of the tooltip box and fires the triggerEnter event, which