* Called by the framework to give the element a chance to preconnect to * hosts and prefetch resources it is likely to need. May be called * multiple times because connections can time out. * @param {boolean=} opt_onLayout * TODO(#31915): remove once R1 migration is complete.
(opt_onLayout)
| 438 | * TODO(#31915): remove once R1 migration is complete. |
| 439 | */ |
| 440 | preconnectCallback(opt_onLayout) { |
| 441 | // Subclasses may override. |
| 442 | } |
| 443 | |
| 444 | /** |
| 445 | * Override in subclass to adjust the element when it is being added to |