mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 14:01:20 +08:00
fix(tap): export isActivatable as a const so its transpiled correctly
This commit is contained in:
@ -196,7 +196,7 @@ function getActivatableTarget(ele: HTMLElement) {
|
|||||||
/**
|
/**
|
||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
export function isActivatable(ele: HTMLElement) {
|
export const isActivatable = function(ele: HTMLElement) {
|
||||||
if (ACTIVATABLE_ELEMENTS.test(ele.tagName)) {
|
if (ACTIVATABLE_ELEMENTS.test(ele.tagName)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user