, "ishidden" , "offsetparent" , "hidden" , "isnotgrey" , "color" , "match" , "wave" , "arguments" , "containerref" , "animationstart" , "destroyed" , "wavecolor" , "classname" , "insertextranode" , "extranode" , "createelement" , "getprefixcls" , "context" , "attribute...
, "ishidden" , "offsetparent" , "hidden" , "isnotgrey" , "color" , "match" , "wave" , "arguments" , "containerref" , "animationstart" , "destroyed" , "wavecolor" , "_b" , "classname" , "insertextranode" , "extranode" , "getprefixcls" , "context" , "attributename" , ...
摘要:AntD-Form 是基于 rc-form 来做了一层封装,我们看看它提供了哪些额外的功能 先来看看 Form 首先按照惯例获取SizeContext,ConfigContext,主要获取Size,getPrefixCls,direction,form.requiredMark. 然后依次来获取 c阅读全文 posted @2021-07-21 14:54kongshu阅读(947)评论(0)推荐(0)编辑 ...
var optionPrefixCls = "".concat(itemPrefixCls, "-option"); var optionClassName = (0, _classnames.default)(itemPrefixCls, optionPrefixCls, className, (_classNames = {}, (0, _defineProperty2.default)(_classNames, "".concat(optionPrefixCls, "-grouped"), groupOption), (0, _defineProperty2.d...
[`${this.prefixCls}-narrow`]: this.enabledColumns < 3, [`${this.prefixCls}-placement-bottomLeft`]: !this.nzInDatePicker }; } timeDisabled(value: Date): boolean { const hour = value.getHours(); const minute = value.getMinutes(); Expand Down Expand Up @@ -539,7 +527,6 @@ export...
function DendronCalendarPanel({ ide, engine }: DendronProps) { // --- init const ctx = "CalendarView"; const logger = createLogger("calendarView"); logger.info({ ctx, state: "enter", }); const { getPrefixCls } = React.useContext(ConfigProvider.ConfigContext); const...
fix: in miniapp (worker runtime) , globalThis is not a function :point_right: ( jinc.cjc ) fix(@uform/next): formitem compatibility (#440) :point_right: ( quirkyvar ) fix: 引入 next 样式 :point_right: ( 秋逢 ) fix(antd): return null while time field get falsy value (#37...
首先,我们可以通过transitionName 参数来提供一个transtionName, 看这段代码:transitionName={getTransitionName(rootPrefixCls, 'slide-up', props.transitionName)}, 如果不提供,默认就是slide-up这个transitionName, 第一个问题,这个transtionName 有神马用途,或者,用它会发生什么,首先它会传递个CSSMotion ,如果有同...
function renderMenuItem(items: ContextMenuItem[]) { @@ -102,17 +93,16 @@ if (!children || children.length === 0) { return ( <> <Menu.Item disabled={disabled} class={`${prefixCls}__item`} key={label}> <Menu.Item disabled={disabled} key={label}> <ItemContent {...contentProps...
prefixClsset prefix classstringant pageHeaderUnify the ghost of pageHeader ,Ref [pageHeader](<(/components/page-header)>{ ghost:boolean }'true'1.5.0 transformCellTextTable data can be changed again before rendering. The default configuration of general user empty data.Function({ text, column, ...