References
admin
admin/components
summary | ||
public |
|
|
public |
C AdminNav |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
The |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
The |
|
public |
The |
|
public |
|
|
public |
C MailPage |
|
public |
|
|
public |
|
|
public |
|
|
public |
The |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
Admin page which displays a paginated list of all users on the forum. |
admin/resolvers
summary | ||
public |
A custom route resolver for ExtensionPage that generates handles routes to default extension pages or a page provided by an extension. |
admin/utils
summary | ||
public |
|
|
public |
F getCategorizedExtensions(): * |
|
public |
F isExtensionEnabled(name: *): * |
|
public |
F saveSettings(settings: *): * |
common
summary | ||
public |
The |
|
public |
The |
|
public |
C Fragment The |
|
public abstract |
C Model The |
|
public |
C Session The |
|
public |
C Store The |
|
public |
|
|
public |
Extend an object's method by running its output through a mutating callback every time it is called. The callback accepts the method's return value and should perform any mutations directly on this value. |
|
public |
Override an object's method by replacing it with a new function, so that the new function will be run every time the object's method is called. |
common/components
summary | ||
public |
C Alert The |
|
public |
The |
|
public |
C Badge The |
|
public |
C Button The |
|
public |
C Checkbox The |
|
public |
The |
|
public |
C Dropdown The |
|
public |
The |
|
public |
C FieldSet The |
|
public |
|
|
public |
C Link The link component enables both internal and external links. |
|
public |
The |
|
public |
The |
|
public abstract |
C Modal The |
|
public |
The |
|
public |
The |
|
public abstract |
C Page The |
|
public |
The |
|
public |
|
|
public |
C Select The |
|
public |
The Attrs
|
|
public |
The |
|
public |
The |
|
public |
C Switch The |
|
public |
The |
|
public |
The |
|
public |
C Tooltip The |
common/helpers
summary | ||
public |
F avatar(user: *, attrs: *): * The |
|
public |
F fullTime(time: *): * The |
|
public |
F highlight(string: *, phrase: *, length: *): * The |
|
public |
F humanTime(time: *): * The |
|
public |
F icon(fontClass: *, attrs: *): * The |
|
public |
F listItems(items: *): * The Separator components. |
|
public |
F punctuateSeries(items: Array): VirtualElement The |
|
public |
F userOnline(user: *): * The |
|
public |
F username(user: *): * The |
common/resolvers
summary | ||
public |
Generates a route resolver for a given component. |
common/states
summary | ||
public |
Returned by |
|
public |
|
|
public |
|
common/utils
summary | ||
public |
|
|
public |
C Drawer The |
|
public |
C ItemList The |
|
public |
|
|
public |
The |
|
public |
The |
|
public |
F abbreviateNumber(number: undefined): * The |
|
public |
F anchorScroll(element: DOMElement, callback: Function) The |
|
public |
F bidi(node: *, prop: *): * |
|
public |
The |
|
public |
F escapeRegExp(input: undefined): * Escapes the |
|
public |
The |
|
public |
F extractText(vdom: VirtualElement): String Extract the text nodes from a virtual element. |
|
public |
F formatNumber(number: undefined): * The |
|
public |
The |
|
public |
F insertText(textarea: undefined, undefined: undefined) |
|
public |
F liveHumanTimes() The |
|
public |
The |
|
public |
The |
|
public |
F patchMithril(global: *) |
|
public |
F proxifyCompat(compat: *, namespace: *): * |
|
public |
F setRouteWithForcedRefresh(route: undefined, params: undefined, options: undefined) Mithril 2 does not completely rerender the page if a route change leads to the same route (or the same component handling a different route). |
|
public |
F getPlainContent(string: undefined): * Strip HTML tags and quotes out of the given string, replacing them with meaningful punctuation. |
|
public |
Create a slug out of the given string. |
|
public |
Truncate a string to the given length, appending ellipses if necessary. |
|
public |
Make a string's first character uppercase. |
|
public |
F stringToColor(string: undefined): * Convert the given string to a unique color. |
|
public |
F styleSelectedText(textarea: undefined, styleArgs: undefined) |
|
public |
F subclassOf(A: *, B: *): * Check if class A is the same as or a subclass of class B. |
|
public |
F withAttr(key: *, cb: *) An event handler factory that makes it simpler to implement data binding for component event listeners. |
|
public |
V classList: * This util exposes |
forum
forum/components
summary | ||
public |
The ChildrenThe component must wrap an element that itself wraps an
|
|
public |
The Attrs
|
|
public |
The |
|
public |
The |
|
public |
The |
|
public |
C Composer The |
|
public abstract |
The |
|
public |
The |
|
public |
The |
|
public |
The |
|
public |
The |
|
public |
The |
|
public |
The |
|
public |
The |
|
public |
The |
|
public |
The |
|
public |
The |
|
public |
The |
|
public |
The |
|
public |
The |
|
public abstract |
The |
|
public |
The |
|
public |
The |
|
public |
The |
|
public |
The |
|
public |
The |
|
public |
The |
|
public |
The |
|
public |
The |
|
public abstract |
The |
|
public |
The |
|
public |
The |
|
public |
|
|
public |
The |
|
public abstract |
C Post The |
|
public |
The |
|
public |
C PostMeta The |
|
public |
The Attrs
|
|
public |
The |
|
public |
The |
|
public |
C PostUser The Attrs
|
|
public |
The |
|
public |
The 'RenameDiscussionModal' displays a modal dialog with an input to rename a discussion |
|
public |
The |
|
public |
The |
|
public |
C Search The |
|
public |
The |
|
public |
The |
|
public |
The |
|
public |
Displays information about a the first or last post in a discussion. |
|
public |
C UserCard The Attrs
|
|
public abstract |
C UserPage The |
|
public |
The |
|
public |
The |
forum/resolvers
summary | ||
public |
A custom route resolver for DiscussionPage that generates the same key to all posts on the same discussion. |
forum/states
summary | ||
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
forum/utils
summary | ||
public |
C History The |
|
public |
The |
|
public |
C Pane The |
|
public |
F alertEmailConfirmation(app: ForumApplication): {...vdom: Object, "children": *} Shows an alert if the user has not yet confirmed their email address. |
|
public |
F isSafariMobile(): * |
|
public |
The |