Pork, ham, sausage, etc. are known to trigger pancreatitis. Yorkies are one of breeds prone to pancreatitis so it's especially bad for them.
Pancreatitis (Inflammation) in Dogs
You are lucky she recovered on her own. Pancreatitis can be very serious, even life threatening. A co-worker's father slipped her Yorkie
one piece of ham during a holiday brunch and Sugar ended up in the ER for two days with a $2,000 bill.