This fern, which is not really a fern, grows well from a basket and will cascade down the sides once it gets larger. What appear to be leaves are really the stems and like an air plant the leaves are scales along those stems.
Asparagus fern does not want bright light, an east or west facing window will do just fine. It may even do well in a north facing window if you are in an area that is frequently sunny. It will start to turn yellow if it needs more light.
Water enough to prevent it from drying out completely but no more. Which means to water when the top 1/2″ of soil feels dry when you push your finger into the soil.
Small white flowers can appear in the spring followed by red berries. The berries are poison.