Windows Dev Center

Tooltip.beforeclose event

[This documentation is preliminary and is subject to change.]

Applies to: Metro style apps only

Raised just before the Tooltip is hidden.

Syntax


<div data-win-control="WinJS.UI.Tooltip" data-win-options="{onbeforeclose : handler}">
</div>


function handler(eventInfo) { /* Your code */ }
tooltip.addEventListener("beforeclose", handler);
tooltip.removeEventListener("beforeclose", handler);


Event handler parameters

eventInfo

Type: CustomEvent

An object that contains information about the event.

Requirements

Minimum supported client

Windows 8 Consumer Preview

Minimum supported server

Windows Server 8 Beta

Namespace

WinJS.UI

Library

Ui.js

See also

Tooltip

 

 

Build date: 2/10/2012

Ajouts de la communauté

AJOUTER
Afficher:
© 2015 Microsoft