Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add life property to Tooltip #3370

Closed
saximoer3 opened this issue Jul 12, 2017 · 1 comment
Closed

Add life property to Tooltip #3370

saximoer3 opened this issue Jul 12, 2017 · 1 comment
Assignees
Labels
Type: New Feature Issue contains a new feature or new component request
Milestone

Comments

@saximoer3
Copy link

I'm submitting a ... (check one with "x")

[ ] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Expected behavior
i need a property to hide the tooltip in milliseconds by setTimeout.
i think some people need it too.

like this:
@input() life: number;

ngAfterViewInit(): void {
if( this.life ){
setTimeout(() => { this.deactivate() }, this.life);
}
}

@aervin
Copy link

aervin commented Jul 31, 2017

Same as my feature request in #3516. Here is a PR w/ very basic implementation: #3539

@cagataycivici cagataycivici added this to the 4.2 milestone Aug 23, 2017
@cagataycivici cagataycivici added the Type: New Feature Issue contains a new feature or new component request label Aug 23, 2017
@cagataycivici cagataycivici changed the title Tooltip: hide the tooltip in milliseconds by setTimeout Add life property to Tooltip Sep 12, 2017
@cagataycivici cagataycivici self-assigned this Sep 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: New Feature Issue contains a new feature or new component request
Projects
None yet
Development

No branches or pull requests

3 participants