2016-10-20 15 views

回答

1

可以使用sliderfield的xtype提供此功能。

useTips屬性允許強制執行所需的行爲。

<slider 
    jcr:primaryType="cq:Widget" 
    fieldLabel="Tile Background Transparency" 
    name="./slider" 
    width="{Long}200" 
    value="42" 
    increment="1" 
    useTips="true" 
    minValue="0" 
    maxValue="100" 
    xtype="sliderfield"/> 

AEM Classic UI sliderfield tips

退房the docs以獲取更多信息。