Kaynak ikonu

xF2 Eklenti Browser Detection 2.3.1

indirmek için izniniz yok
  • Konuyu Başlatan Konuyu Başlatan TRXFTR
  • Başlangıç tarihi Başlangıç tarihi

TRXFTR

Developer
Administrator
Katılım
9 Ocak 2025
Mesajlar
1,948
Çözümler
10
Beğeniler
2,155
Web
trxf.tr
TRXFTR Kullanıcımız yeni bir kaynak oluşturdu:

Browser Detection - Eklenti, mobile_detect alanında iyileştirmelere olanak tanır.

The add-on injects the global variable $xf.mobileDetect, check that the variable is set before calling any methods to prevent errors during upgrades or if the add-on is disabled.

HTML:
<xf:if is="$xf.mobileDetect && $xf.mobileDetect.isMobile()">
    Is Mobile
<xf:else />
    Not Mobile
</xf:if>

HTML:
<xf:if is="$xf.mobileDetect && $xf.mobileDetect.is('Firefox')">
    Is Firefox
<xf:else />
    Not Firefox
</xf:if>

HTML:
<xf:if is="$xf.mobileDetect &&...

Bu kaynak hakkında daha fazla bilgi ...
 
Geri
Üst