div function
Element
div(})
Implementation
Element div(
dynamic children, {
String? id,
String? className,
Map<String, dynamic>? attributes,
Function(web.MouseEvent)? onClick,
Function(web.MouseEvent)? onDoubleClick,
Function(web.MouseEvent)? onMouseEnter,
Function(web.MouseEvent)? onMouseLeave,
}) => _el(
'div',
children,
id: id,
className: className,
attributes: attributes,
events: {
'click': ?onClick,
'dblclick': ?onDoubleClick,
'mouseenter': ?onMouseEnter,
'mouseleave': ?onMouseLeave,
},
);