adverb
to one's heart's content; as much as one likes; freely
Used when someone does something without restraint, fully enjoying or indulging in an activity. Often used with verbs like 楽しむ, 語る, 泣く, etc.
休日は存分に楽しんだ。
I enjoyed the holiday to my heart's content.
思う存分に泣いた。
I cried as much as I wanted.