Item Slot documentation doesn't mention get_item() function? #149
-
Hi, very useful addon! I'm working with ItemRefSlot and got confused because documentation didn't show a function for getting the InventoryItem held by the slot. I checked docs for ItemRefSlot, ItemSlot and ItemSlotBase but none of them had this function, and I wondered if I was misunderstanding how slots were meant to be used. It was only when I checked the code that I found the get_item() function. Raising as this seems to be missing from docs? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yup, you're right. I forgot to describe that function in the docs for |
Beta Was this translation helpful? Give feedback.
Yup, you're right. I forgot to describe that function in the docs for
ItemSlotBase
,ItemSlot
andItemRefSlot
.Should be fixed now: 23c95b5.