public void WeaveTo(ClassNameHelper helper, string template) { if (helper == null) { return; } helper.AddCustomClass(Span != null ? string.Format(template, Span.Value) : ""); helper.AddCustomClass(Offset != null ? string.Format(template, $"offset-{Offset.Value}") : ""); helper.AddCustomClass(Order != null ? string.Format(template, $"order-{Order.Value}") : ""); helper.AddCustomClass(Push != null ? string.Format(template, $"push-{Push.Value}") : ""); helper.AddCustomClass(Pull != null ? string.Format(template, $"pull-{Pull.Value}") : ""); }
public async Task HideSubInfo() { await Task.Run(async() => { await Task.Delay(100); if (_inElementScope) { return; } _hideDivClassNameStr = _hideDivInfo.AddCustomClass(_hideDivClassName).Build(); this.Flush(); }); }
private void HandleDefaultVisibleInfo() { _visibled = this.DefaultVisiable; _overlayClass.AddCustomClass("ant-tooltip-hidden", () => this.DefaultVisiable); }