removed class since this is inherit
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
398ae82151
commit
5de60eef0f
@ -23,19 +23,19 @@ open class VDSLabel: UILabel, Modelable {
|
|||||||
@Published public var model: VDSLabelModel = DefaultLabelModel()
|
@Published public var model: VDSLabelModel = DefaultLabelModel()
|
||||||
private var cancellable: AnyCancellable?
|
private var cancellable: AnyCancellable?
|
||||||
|
|
||||||
@Proxy(\VDSLabel.model.fontSize)
|
@Proxy(\.model.fontSize)
|
||||||
public var fontSize: VDSFontSize
|
public var fontSize: VDSFontSize
|
||||||
|
|
||||||
@Proxy(\VDSLabel.model.textPosition)
|
@Proxy(\.model.textPosition)
|
||||||
public var textPosition: VDSTextPosition
|
public var textPosition: VDSTextPosition
|
||||||
|
|
||||||
@Proxy(\VDSLabel.model.fontWeight)
|
@Proxy(\.model.fontWeight)
|
||||||
public var fontWeight: VDSFontWeight
|
public var fontWeight: VDSFontWeight
|
||||||
|
|
||||||
@Proxy(\VDSLabel.model.fontCategory)
|
@Proxy(\.model.fontCategory)
|
||||||
public var fontCategory: VDSFontCategory
|
public var fontCategory: VDSFontCategory
|
||||||
|
|
||||||
@Proxy(\VDSLabel.model.surface)
|
@Proxy(\.model.surface)
|
||||||
public var surface: Surface
|
public var surface: Surface
|
||||||
|
|
||||||
//Initializers
|
//Initializers
|
||||||
|
|||||||
@ -106,25 +106,25 @@ public class DefaultToggleModel: DefaultLabelModel, VDSToggleModel {
|
|||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
// MARK: - Computed Properties
|
// MARK: - Computed Properties
|
||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
@Proxy(\VDSToggle.model.showText)
|
@Proxy(\.model.showText)
|
||||||
public var showText: Bool
|
public var showText: Bool
|
||||||
|
|
||||||
@Proxy(\VDSToggle.model.onText)
|
@Proxy(\.model.onText)
|
||||||
public var onText: String
|
public var onText: String
|
||||||
|
|
||||||
@Proxy(\VDSToggle.model.offText)
|
@Proxy(\.model.offText)
|
||||||
public var offText: String
|
public var offText: String
|
||||||
|
|
||||||
@Proxy(\VDSToggle.model.textPosition)
|
@Proxy(\.model.textPosition)
|
||||||
public var textPosition: VDSTextPosition
|
public var textPosition: VDSTextPosition
|
||||||
|
|
||||||
@Proxy(\VDSToggle.model.fontSize)
|
@Proxy(\.model.fontSize)
|
||||||
public var fontSize: VDSFontSize
|
public var fontSize: VDSFontSize
|
||||||
|
|
||||||
@Proxy(\VDSToggle.model.fontWeight)
|
@Proxy(\.model.fontWeight)
|
||||||
public var fontWeight: VDSFontWeight
|
public var fontWeight: VDSFontWeight
|
||||||
|
|
||||||
@Proxy(\VDSToggle.model.surface)
|
@Proxy(\.model.surface)
|
||||||
public var surface: Surface
|
public var surface: Surface
|
||||||
|
|
||||||
open override var isEnabled: Bool {
|
open override var isEnabled: Bool {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user