Br class
Contains WidgetElement
that contains a virtual node
with the <br>
tag.
Constructors
- Br.new()
-
The
<br>
HTML element produces a line break in text (carriage-return). Read more...
Properties
Methods
-
$(
WidgetElement element) → WidgetElement -
Adds the specified
WidgetElement
toWidgetElement
from which the method was called. Think of it as an add, insert, etc. method.inherited -
$list(
List< WidgetElement> elements) → WidgetElement -
Adds the specified list with
WidgetElement
to theWidgetElement
from which the method was called. Think of it as an add, insert, etc. method.inherited -
$slot(
int id) → WidgetElement -
Creates a slot for inserting a side Widget.
inherited
-
a(
String name, dynamic value, {bool? removeIf}) → WidgetElement -
Allows to create a custom HTML attribute,
for example, if you can't find the desired one.
inherited
-
accessKey(
String key, {bool? removeIf}) → WidgetElement -
The accesskey global attribute provides
a hint for generating a keyboard shortcut
for the current element.
Read more...
inherited
-
autoCapitalize(
String value, {bool? removeIf}) → WidgetElement -
The autocapitalize global attribute that controls
whether and how text input is automatically
capitalized as it is entered/edited by the user.
Read more...
inherited
-
autoFocus(
bool boolean) → WidgetElement -
The autofocus global attribute indicating
that an element should be focused on page load,
or when the
<dialog>
that it is part of is displayed. Read more...inherited -
contentEditable(
bool boolean, {bool? removeIf}) → WidgetElement -
The contenteditable global attribute
indicating if the element should be editable by the user.
Read more...
inherited
-
dir(
String dir, {bool? removeIf}) → WidgetElement -
The dir global attribute that indicates
the directionality of the element's text.
Read more...
inherited
-
draggable(
bool boolean, {bool? removeIf}) → WidgetElement -
The draggable global attribute attribute that
indicates whether the element can be dragged,
either with native browser behavior
or the HTML Drag and Drop API.
Read more...
inherited
-
enterKeyHint(
String key, {bool? removeIf}) → WidgetElement -
The enterkeyhint global attribute defining
what action label (or icon) to present
for the enter key on virtual keyboards.
Read more...
inherited
-
The hidden global attribute indicating that
the browser should not render the contents
of the element.
Read more...
inherited
-
id(
String id, {bool? removeIf}) → WidgetElement -
The id global attribute defines an identifier
(ID) which must be unique in the whole document.
Read more...
inherited
-
inputMode(
String mode, {bool? removeIf}) → WidgetElement -
The inputmode global attribute that hints
at the type of data that might be entered
by the user while editing the element
or its contents.
Read more...
inherited
-
itemId(
String value, {bool? removeIf}) → WidgetElement -
The itemid global attribute provides
microdata in the form of a unique,
global identifier of an item.
Read more...
inherited
-
itemProp(
String name, {bool? removeIf}) → WidgetElement -
The itemprop global attribute
is used to add properties to an item.
Read more...
inherited
-
itemRef(
String value, {bool? removeIf}) → WidgetElement -
itemref provides a list of element IDs
(not itemids) elsewhere in the document,
with additional properties
Read more...
inherited
-
itemScope(
bool boolean) → WidgetElement -
itemscope is a global attribute that
defines the scope of associated metadata.
Read more...
inherited
-
itemType(
String url, {bool? removeIf}) → WidgetElement -
The global attribute itemtype specifies the URL
of the vocabulary that will be used to define
itemprop's (item properties) in the data structure.
Read more...
inherited
-
lang(
String langCode, {bool? removeIf}) → WidgetElement -
The lang global attribute helps define
the language of an element: the language
that non-editable elements are written in,
or the language that the editable elements
should be written in by the user.
Read more...
inherited
-
nonce(
String crypto, {bool? removeIf}) → WidgetElement -
The nonce global attribute defining
a cryptographic nonce ("number used once")
which can be used by Content Security Policy
to determine whether or not a given fetch will
be allowed to proceed for a given element.
Read more...
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
on(
String eventName, dynamic fun(Element, Event)) → WidgetElement -
Allows to create a custom HTML event,
for example, if you can't find the desired one.
inherited
-
onAdd(
dynamic fun(Element)?) → WidgetElement -
The event is activated when an
WidgetElement
is added to the HTML DOM.inherited -
onDestroy(
dynamic fun()?) → WidgetElement -
The event is activated when Widget
is removed from the Reio Virtual DOM.
inherited
-
onMount(
dynamic fun(Element)?) → WidgetElement -
The event is activated when Widget
is mounted in the Reio Virtual DOM.
inherited
-
onRemove(
dynamic fun()?) → WidgetElement -
The event is activated when an
WidgetElement
is removed from the HTML DOM.inherited -
remove(
{required Widget widget}) → WidgetElement -
Removes
WidgetElement
from the HTML DOM.inherited -
removeIf(
{required Widget widget, required bool condition()?}) → WidgetElement -
Removes
WidgetElement
from the HTML DOM if the condition is true.inherited -
removeIfTrue(
{required Widget widget, required int slot, required bool condition()?}) → WidgetElement -
Removes
WidgetElement
from the HTML DOM if the condition is true and adds it using$
method if it is false.inherited -
setJump(
Map< int, WidgetElement> map) → WidgetElement -
Splits the value into the specified elements.
Accepts a
map
with the widget key, works together with the getJump function.inherited -
spellCheck(
bool boolean, {bool? removeIf}) → WidgetElement -
The spellcheck global attribute that defines
whether the element may be checked for spelling errors.
Read more...
inherited
-
style(
List< String> styleList, {bool? removeIf}) → WidgetElement -
The style global attribute contains CSS
styling declarations to be applied to the element.
Read more...
inherited
-
tabIndex(
int number, {bool? removeIf}) → WidgetElement -
The tabindex global attribute allows developers
to make HTML elements focusable, allow or prevent
them from being sequentially focusable (usually with
the Tab key, hence the name) and determine their
relative ordering for sequential focus navigation.
Read more...
inherited
-
thisClass(
List< String> nameList, {bool? removeIf}) → WidgetElement -
The class global attribute is a list
of the case-sensitive classes of the element.
Read more...
inherited
-
thisIs(
String elementName, {bool? removeIf}) → WidgetElement -
The is global attribute allows you to specify
that a standard HTML element should behave
like a defined custom built-in element
(see Using custom elements for more details).
Read more...
inherited
-
title(
String text, {bool? removeIf}) → WidgetElement -
The title global attribute contains text
representing advisory information related
to the element it belongs to.
Read more...
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
translate(
String value, {bool? removeIf}) → WidgetElement -
The translate global attribute that is used
to specify whether an element's translatable
attribute values and its Text node children
should be translated when the page is localized,
or whether to leave them unchanged.
Read more...
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited