<%page args="item_list, platform_count, is_property_list=False"/> % if is_property_list: % endif % for item in item_list: % if item.name not in ("Titanium.Proxy", "Titanium.Module"): <% row_class = " ".join(["in_" + p["name"].lower() for p in item.platforms]) %> <% if hasattr(item, "getter_for") or hasattr(item, "setter_for"): row_class += " accessor" if item.inherited_from_obj is not None: row_class += " inherited" %> <% platform_names = ", ".join([p["pretty_name"] for p in item.platforms]) %> <% append_cell_class = " deprecated" if item.deprecated else "" %> <% if hasattr(item, "repeatable") and item.repeatable: item_name = "%s..." % item.name else: item_name = item.name %> <% summary = item.summary_html was_para_close = False if summary.endswith("

"): summary = summary[:-4] # we'll put it back later, promise was_para_close = True %> % if item.typestr=="parameter" or (item.typestr=="property" and item.parent.typestr=="event"): % else: % endif % if is_property_list: % endif % endif % endfor
NameTypeSummary
${item_name}${item_name}${item.type_html} % if item.deprecated is not None: <% if summary.startswith("

"): summary = '%sDeprecated %s' % (summary[:3],summary[3:]) %> % endif ${summary} % if len(item.platforms) < platform_count: (${platform_names} only.) % endif % if item.permission is not None: ${item.permission} % endif % if item.availability is not None: ${item.availability} % endif % if item.typestr=="parameter": % if item.optional is not None: Optional. % endif % if item.repeatable: Repeatable. % endif % if item.default is not None: <% if item.default_html.startswith("

"): item.default_html = item.default_html[3:-4] %> Default: ${item.default_html} % endif % endif % if was_para_close:

% endif