We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c65c49e commit 7de6931Copy full SHA for 7de6931
Sources/SwiftRichString/Style/Style.swift
@@ -422,6 +422,13 @@ public class Style: StyleProtocol {
422
423
#endif
424
425
+ /// The value of this attribute is an NSURL object (preferred) or an NSString object.
426
+ /// The default value of this property is nil, indicating no link.
427
+ public var linkURL: URL? {
428
+ set { self.set(attribute: newValue, forKey: .link) }
429
+ get { return self.get(attributeForKey: .link) }
430
+ }
431
+
432
#if os(OSX) || os(iOS) || os(tvOS)
433
434
/// Configuration for the number case, also known as "figure style".
0 commit comments