mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-26 17:46:26 +03:00
96c1f8795c
Previously, we were using MDL tooltips for our tooltips. They seemed fine at first, but proved very temperamental; we had to jump through hoops to get them to work inside MDL cards, and they kept breaking for various reasons. This instead adds the third-party tippy.js module, and uses that to make tooltips instead. Change-Id: I37ae9c9ade4e3c4dd6cbb1b86601377ed5d9e54f
31 lines
853 B
JavaScript
31 lines
853 B
JavaScript
/**
|
|
* @license
|
|
* Copyright 2016 Google Inc.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
/**
|
|
* @fileoverview Externs for Tippy methods.
|
|
* @externs
|
|
*/
|
|
|
|
|
|
/**
|
|
* This is the subset of this method that we use in our demo code.
|
|
*
|
|
* @param {!Element} element
|
|
* @param {!Object} config
|
|
*/
|
|
const tippy = function(element, config) {};
|