Talk:FUEL/0.2/API

From MozillaWiki
Jump to: navigation, search

Bookmarks wrapper

Here are a couple of additions based on my own experience:

Bookmarks

Methods:

  • getByType( aType ) returns Array<Bookmark>

Bookmark( Object )

Methods:

  • getChildren() returns Array<Bookmark> // containers only

Properties:

  • parent is a Bookmark (Getter) / (Getter/Setter) ??
  • type is a String: container || folder || livemark || bookmark (Getter)

Ancestor 12:03, 8 January 2007 (PST)

read-only properties

I find (Getter/Setter) vs. (Getter) vs. no parentheses a bit confusing. I suspect that all properties have a getter, thus it should be sufficient to classify those without a setter as read-only. --Dao