You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Component::setAdditions() takes ComponentLink objects, making the whole component tappable, serialized as additions. Apple News Format allows it on Photo, Image, Figure, Portrait, Logo, ArticleThumbnail, ArticleLink, ReplicaAdvertisement and the containers (Container, Aside, Chapter, Header, Section). Other additions, or the call on any other non-text component, throw InvalidArgumentException
Changed
TextComponent::setAdditions() also takes AdditionInterface objects such as LinkAddition, stored serialized. Arrays are kept as given, and the JSON output is unchanged