MdlWidgetConfig<T extends MdlComponent> class

Helps to decide what is a real Widget and what is just a helper. MaterialRipple would be such a "helper"

MdlWidgetConfig sets priority to 3. (default is 5) This guaranties that a widget will be created before it's (MdlComponent) properties!

Inheritance

Constructors

MdlWidgetConfig(String selector, T componentFactory(HtmlElement element, Container iocContainer))

Properties

baseSelector → String
The selector how it is defined in the Component
read-only, inherited
callbacks → List<MdlCallback>
final, inherited
classAsString → String
read-only, inherited
hashCode → int
The hash code for this object.
read-only, inherited
isWidget → bool
Avoids problems with Components and Helpers like MaterialRipple
final, inherited
priority RegistrationPriority
The higher the priority the later the component will be upgraded. This is important e.g. for the ripple-effect. The ripple-effect must be called as last upgrade process Default {priority} is 5, materialRippleConfig sets {priority} to 10 It's important do know that MdlWidgetConfig gets priority 3 This guaranties that a widget exists always before it's properties
read / write, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
selector → String
Returns the appropriate selector for this component. Either a class-selector, attribute-selector or a Tag-Name
read-only, inherited
selectorType SelectorType
by default {selector} is a css-class-name.
read / write, inherited
type → Type
read-only, inherited

Methods

newComponent(HtmlElement element, Container iocContainer) MdlComponent
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited