Exemplo n.º 1
0
        private void SetClass()
        {
            ClassMapper.Add(PrefixCls)
            .Get(() => $"{PrefixCls}-{Status}")
            .If($"{PrefixCls}-rtl", () => RTL);

            IconClassMapper.Get(() => $"{PrefixCls}-{(IsImage ? "image" : "icon")}");
        }
Exemplo n.º 2
0
        private void SetClass()
        {
            ClassMapper.Add(PrefixCls)
            .Add($"{PrefixCls}-{Status}");

            IconClassMapper.Add($"{PrefixCls}-icon")
            .If($"{PrefixCls}-image", () => IsImage);
        }
Exemplo n.º 3
0
        private void SetClass()
        {
            ClassMapper.Get(() => $"{PrefixCls}-{Status}");

            IconClassMapper.Get(() => $"{PrefixCls}-{(IsImage ? "image" : "icon")}");
        }