UNPKG

ipsos-components

Version:

Material Design components for Angular

30 lines (26 loc) 775 B
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {Component, ViewEncapsulation} from '@angular/core'; import {TooltipPosition} from '@angular/material'; @Component({ moduleId: module.id, selector: 'tooltip-demo', templateUrl: 'tooltip-demo.html', styleUrls: ['tooltip-demo.css'], encapsulation: ViewEncapsulation.None, preserveWhitespaces: false, }) export class TooltipDemo { position: TooltipPosition = 'below'; message: string = 'Here is the tooltip'; tooltips: string[] = []; disabled = false; showDelay = 0; hideDelay = 1000; showExtraClass = false; }