reblocks-ui2 - A pack of UI components for Reblocks web-framework.
REBLOCKS-UI2 ASDF System Details
Description: A pack of
UI
components for Reblocks web-framework.Licence: Unlicense
Author: Alexander Artemenko <svetlyak.40wt@gmail.com>
Homepage: https://40ants.com/reblocks-ui2/
Bug tracker: https://github.com/40ants/reblocks-ui2/issues
Source control: GIT
Depends on: alexandria, moptilities, reblocks, reblocks-lass, serapeum
Installation
You can install this library from Quicklisp, but you want to receive updates quickly, then install it from Ultralisp.org:
(ql-dist:install-dist "http://dist.ultralisp.org/"
:prompt nil)
(ql:quickload :reblocks-ui2)
Usage
TODO
: Write a library description. Put some examples here.
API
REBLOCKS-UI2/BUTTONS/BUTTON
Classes
BUTTON
Readers
Functions
REBLOCKS-UI2/CONTAINERS/POPUP/WIDGET
Classes
POPUP-WIDGET
This widgets shows a popup window.
Inherit from this class and define a method for
render-popup-content
generic-function. Then you
will be able to instantiate your class instance
and call show-popup
generic function.
Readers
Accessors
Generics
Hides popup window.
Renders inner HTML
for popup window.
You need to define a method for this generic function
and specialize it for your own class.
Shows popup window.
REBLOCKS-UI2/TABLES/CLICKABLE-ROW
Classes
CLICKABLE-ROW-WIDGET
Functions
REBLOCKS-UI2/TABLES/TABLE
Classes
COLUMN
Readers
Additional CSS
classes for column cells
TABLE-ROW
Readers
Original object, passed as a row to the make-table
function.
Reference it a table row belong to.
TABLE-WIDGET
Readers
Generics
Functions
Updates cell widgets using base object, stored in the ROW
.
REBLOCKS-UI2/THEMES/API
Functions
REBLOCKS-UI2/THEMES/ZURB
Classes
ZURB-THEME
Functions
REBLOCKS-UI2/WIDGET
Classes
UI-WIDGET
Generics
Returns a list of classes for the widget.
Default implementation returns class list and all it's parent names.
Works like reblocks/dependencies:get-dependencies
generic-function, but
in context of current theme.
Renders widget in given theme. All reblocks-ui2 widgets
should implement this method instead of a method
for reblocks/widget:render
generic-function.