blockly > Toolbox > updateFlyout_

Metode Toolbox.updateFlyout_()

Memutuskan apakah akan menyembunyikan atau menampilkan menu {i>flyout<i} bergantung pada item yang dipilih.

Tanda Tangan:

protected updateFlyout_(oldItem: ISelectableToolboxItem | null, newItem: ISelectableToolboxItem | null): void;

Parameter

Parameter Jenis Deskripsi
oldItem ISelectableToolboxItem | null Item toolbox yang dipilih sebelumnya.
newItem ISelectableToolboxItem | null Item toolbox yang baru dipilih.

Hasil:

void