MdlConfig<T extends MdlComponent> class

Implementers

Constructors

MdlConfig(String _selector, T componentFactory(HtmlElement element, Container iocContainer), { bool isWidget: false })

Properties

baseSelector → String
The selector how it is defined in the Component
read-only
callbacks → List<MdlCallback>
final
classAsString → String
read-only
isWidget → bool
Avoids problems with Components and Helpers like MaterialRipple
final
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
selector → String
Returns the appropriate selector for this component. Either a class-selector, attribute-selector or a Tag-Name
read-only
selectorType SelectorType
by default {selector} is a css-class-name.
read / write
type → Type
read-only
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

newComponent(HtmlElement element, Container iocContainer) MdlComponent
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