l.a.b.b.Badge : class documentation

Part of lp.app.browser.badge View In Hierarchy

A is badge is used to represent a link between two objects.

This link is then rendered as small icons on the object listing views, and as larger images on the object content pages.

Method __init__ Undocumented
Method copy Undocumented
Method renderIconImage Render the small image as an HTML img tag.
Method renderHeadingImage Render the large image as an HTML img tag.
def __init__(self, icon_image=None, heading_image=None, alt='', title='', id=''):
Undocumented
def copy(self):
Undocumented
def renderIconImage(self):
Render the small image as an HTML img tag.
def renderHeadingImage(self):
Render the large image as an HTML img tag.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.