//
//  HWMCustomSubViewModel.h
//  HWMConfUI
//
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, HWMCustomSubViewPosition) {
    HWMCustomSubViewPositionTopLeft, // 左上
    HWMCustomSubViewPositionBottomCenter, // 中下
    HWMCustomSubViewPositionBottomRight // 右下
};

typedef NS_ENUM(NSInteger, HWMCustomSubViewAttachType) {
    HWMCustomSubViewAttachTypeLeftAndRight, // 左右贴边
    HWMCustomSubViewAttachTypeTopAndBottom, // 上下贴边
};

@interface HWMCustomSubViewModel : NSObject

/// 自定义view
@property (nonatomic, weak) UIView *view;
/// 是否可拖动
@property (nonatomic, assign) BOOL enableDrag;
/// 是否可贴边
@property (nonatomic, assign) BOOL enableAttach;
/// 是否跟随会控栏显隐
@property (nonatomic, assign) BOOL showFollowConfCtrlBar;
/// 贴边方式
@property (nonatomic, assign) HWMCustomSubViewAttachType attachType;

@end

NS_ASSUME_NONNULL_END
