added accessibility var
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
f25aee83de
commit
4b8d0d985a
@ -19,6 +19,9 @@ public protocol ViewProtocol: AnyObject, Initable, Resettable, Enabling, Surface
|
|||||||
/// Key of whether or not updateAccessibility() is called in setNeedsUpdate()
|
/// Key of whether or not updateAccessibility() is called in setNeedsUpdate()
|
||||||
var shouldUpdateAccessibility: Bool { get set }
|
var shouldUpdateAccessibility: Bool { get set }
|
||||||
|
|
||||||
|
/// Used for setting an implementation for the default Accessible Action
|
||||||
|
var accessibilityDefaultAction: ((Self) -> Void)? { get set }
|
||||||
|
|
||||||
/// Executed on initialization for this View.
|
/// Executed on initialization for this View.
|
||||||
func initialSetup()
|
func initialSetup()
|
||||||
|
|
||||||
@ -55,7 +58,7 @@ extension ViewProtocol where Self: UIView {
|
|||||||
view.removeFromSuperview()
|
view.removeFromSuperview()
|
||||||
setNeedsDisplay()
|
setNeedsDisplay()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
extension ViewProtocol where Self: UIControl {
|
extension ViewProtocol where Self: UIControl {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user