AmpTimeago Class |
Namespace: Aspose.Email.Amp
The AmpTimeago type exposes the following members.
Name | Description | |
---|---|---|
![]() | AmpTimeago(DateTime) |
Create instance of AmpTimeago.
|
![]() | AmpTimeago(DateTime, Int32, Int32) |
Create instance of AmpTimeago.
|
Name | Description | |
---|---|---|
![]() | Attributes |
AMP provides a set of common attributes that are extended to many AMP components.
(Inherited from AmpComponent.) |
![]() | Cutoff |
Display the original date if time distance is older than cutoff (seconds).
|
![]() | DateTime |
A datetime.
|
![]() | Fallback |
A fallback is a convention that allows the element to communicate to the reader that the browser does not support the element.
(Inherited from AmpComponent.) |
![]() | Locale |
By default, the local is set to en; however, you can specify other locales.
See full list of supported locales https://amp.dev/documentation/components/amp-timeago/?format=email
|
![]() | Placeholder |
The element marked with the placeholder attribute acts as a placeholder for the parent AMP element. If specified, a placeholder element must be a direct child of the AMP element.
(Inherited from AmpComponent.) |
![]() | RequiredScript |
Required script that muct be added to head section.
(Overrides AmpComponentRequiredScript.) |
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToAmpHtml |
Represents amp html version of component.
(Overrides AmpComponentToAmpHtml.) |
![]() | ToHtml |
Represents html version of component.
(Overrides AmpComponentToHtml.) |
![]() | ToString | (Inherited from Object.) |