w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
Edit
In Place Editing Advanced Editing
  • References
  • JavaScript
  • Ember.js
  • LinkComponent

LinkComponent#eventName

eventNameStringprivate

Defined in packages/ember-htmlbars/lib/components/link-to.js:469

By default the {{link-to}} component responds to the click event. You can override this globally by setting this property to your custom event name.

This is particularly useful on mobile when one wants to avoid the 300ms click delay using some sort of custom tap event.

Default: click

Links:
  • http://emberjs.com/api/classes/Ember.LinkComponent.html#property_eventName
doc_EmberJs
doc_EmberJs
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.

Popular Articles
LinkComponent Ember.LinkComponent Class PRIVATE Extends: Ember.Component Defined in: packages/ember-htmlbars/lib/components/link-to.js:329 Module: ember-templat
notify_eventnames notify_eventnames() Instance Public methods
LinkComponent#_invoke() _invoke (event) private Defined in packages/ember-htmlbars/lib/components/link-to.js:613 Event handler that invokes the link, activating the asso
LinkComponent#rel relpublic Defined in packages/ember-htmlbars/lib/components/link-to.js:373 Sets the rel attribute of the LinkComponent's HTML element. Default:
LinkComponent#title titlepublic Defined in packages/ember-htmlbars/lib/components/link-to.js:364 Sets the title attribute of the LinkComponent's HTML element. Defa


Return to View
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions