House Speaker Nancy Pelosi on Wednesday accused billionaire President Donald Trump of not understanding the financial burden of the government shutdown on federal workers.

"He thinks maybe they could just ask their father for more money," Pelosi said. "But they can't."

Trump and Democratic leaders had yet another heated meeting regarding border security.

The president vowed to continue the government shutdown, which has now lasted over two weeks, after Pelosi refused to agree to funding for a border wall or steel fence.

House Speaker Nancy Pelosi on Wednesday accused billionaire President Donald Trump of not understanding the financial burden of the government shutdown on federal workers.

"He thinks maybe they could just ask their father for more money," Pelosi said. "But they can't."

This comment came after a heated meeting between Trump and Democratic leaders, in which the president allegedly slammed his hands on the table and stormed out of the room after Pelosi refused to agree to funding for a border wall or steel barrier.

In comments to reporters after the meeting, Vice President Mike Pence and other Republicans rejected the notion Trump threw what Democratic leaders characterized as a "tantrum."

Trump's insistence on obtaining funding for a wall along the US-Mexico border has pushed the government into a partial shutdown that has lasted over two weeks. The president vowed to continue the shutdown after his meeting with Pelosi and Minority Leader Chuck Schumer.

"Just left a meeting with Chuck and Nancy, a total waste of time," The president tweeted. "I asked what is going to happen in 30 days if I quickly open things up, are you going to approve Border Security which includes a Wall or Steel Barrier? Nancy said, NO. I said bye-bye, nothing else works!"

Read more: Trump storms out of government shutdown meeting after Democrats claim he 'slammed the table' over border wall

Trump has in recent days suggested federal workers are OK with being furloughed because they're on his side on the matter. But there's no substantive evidence to support the notion federal workers are happy they're not at work and won't receive paychecks, or in come cases working without pay. Some have reported struggling financially as a consequence of the shutdown.

Roughly 800,000 federal workers have been affected by the situation.

Read more: Some government contractors could go unpaid even after the shutdown ends

In her post-meeting comments on Wednesday, Pelosi seemed to be alluding to the fact Trump inherited much of his wealth from his real estate mogul father Fred Trump. By the time Trump was eight-years-old, he was a millionaire, despite his claims of being self-made.

Trump once famously said he received only a "small loan of a million dollars" from his father when he was getting started out in the business.

"My whole life really has been a 'no' and I fought through it," Trump said an NBC-sponsored town hall in 2015. "It has not been easy for me, it has not been easy for me. And you know I started off in Brooklyn, my father gave me a small loan of a million dollars."

Subsequent investigations have shown Trump's father lent him closer to $60 million, far more than he publicly claimed. The president has long been mysterious about his finances, and has controversially broken precedent by refusing to release his tax returns.