AmpExtensionScript class
Loads an AMP custom element extension script dynamically.
- Inheritance
-
- Object
- DomComponent
- AmpExtensionScript
- Available extensions
Constructors
- AmpExtensionScript({required String extension, String version = '0.1', String type = 'custom-element'})
Properties
Methods
-
build(
) → Iterable< Component> -
Builds this component's children.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
[Renderer renderer = const Renderer(), StringBuffer? sb]) → String -
Available on Component, provided by the RenderComponentExtension extension
Renders this component tree to an XML string using an optional custom Renderer. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited