調査アンケート: Blockly のご利用体験についてお聞かせください
アンケートを開始
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
ブロックする >ツールチップ >getCustomTooltip
カスタム ツールチップ関数を取得します。
署名:
export declare function getCustomTooltip(): CustomTooltip | undefined;
戻り値:
CustomTooltip |未定義
カスタム ツールチップ関数(定義されている場合)。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-09-12 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2024-09-12 UTC。"],[[["`Tooltip.getCustomTooltip()` retrieves the custom tooltip function, if one has been set."],["It returns the custom tooltip function, or `undefined` if no custom tooltip function is assigned."],["The returned function can be used to provide custom tooltips for blocks instead of the default ones."]]],["The `Tooltip.getCustomTooltip()` function retrieves the currently defined custom tooltip function. It returns either a `CustomTooltip` object, representing the function, or `undefined` if no custom tooltip function has been set. This function has no input parameters and its purpose is to provide access to the active custom tooltip.\n"]]