- createUI
Space createUI(string initialChapter)
Undocumented in source. Be warned that the author may not have intended to support it.
- exampleList
Space exampleList(void delegate(Chapter) @(safe) changeChapter)
Undocumented in source. Be warned that the author may not have intended to support it.
- main
void main(string[] args)
The entrypoint prepares themes and the window. The UI is build in createUI().
- render
Space render(Chapter query)
Space render()
Render the given chapter.
- showcaseCode
Space showcaseCode(string code)
- showcaseCode
Space showcaseCode(string code, Node node, Theme theme)
Showcase code and its result.
- startWindow
void startWindow(Node ui)
- startWindow
void startWindow(Node ui)
Undocumented in source. Be warned that the author may not have intended to support it.
- title
string title(Chapter query)
Get the title of the given chapter.
This showcase is a set of examples and tutorials designed to illustrate core features of Fluid and provide a quick start guide to developing applications using Fluid.
This module is the central piece of the showcase, gluing it together. It loads and parses each module to display it as a document. It's not trivial; other modules from this package are designed to offer better guidance on Fluid usage, but it might also be useful to people intending to implement similar functionality.
To get started with the showcase, use dub run fluid:showcase, which should compile and run the showcase. The program explains different components of the library and provides code examples, but you're free to browse through its files if you like! introduction.d might be a good start. I hope this directory proves as a useful learning resource.