tencent cloud

Tencent Cloud Super App as a Service

계약
데이터 처리 및 보안 계약
문서Tencent Cloud Super App as a Service

More Button

포커스 모드
폰트 크기
마지막 업데이트 시간: 2025-07-04 17:33:27
Customizing the event listener for the More button allows the superapp to capture the corresponding callback event when the More button is tapped.
More button in the image:



API Description: The onCapsuleButtonMoreClick method's return value indicates whether the More button listener is customized. A return value of true means it is customized, while false (the default value) means the default listener is used.
/**
* Tap event for the More options on the capsule button
*
* @param miniAppContext - Mini program runtime environment
* @return - Returns false if this API is not supported
*/
public abstract boolean onCapsuleButtonMoreClick(IMiniAppContext miniAppContext);
Example:
@Override
public boolean onCapsuleButtonMoreClick(IMiniAppContext miniAppContext) {
// Pop up the custom More panel
return true;
}





도움말 및 지원

문제 해결에 도움이 되었나요?

피드백