Latest version: undefined

Change log:
undefined
Full changelog...

Sailfish.js

Sailfish.js - фреймворк для
создания `component-based`
веб приложений,
основанный на express.js

client-side компоненты

Sailfish.js предоставляет инфраструктуру
для построения приложения с помощью
компонентов.

Оптимизация

Sailfish.js автоматически осуществляет
оптимизацию загрузки страниц приложения.

Базовые классы

EventObject

Description: Simple event object
Prevents the event to next handlers
Returns whether eventObject.stopPropagation() was ever called on this event object

EventBusChannel

Description: Publish/subscribe API
Subscribe to an event
type
Type: String
Name of event to subscribe
handler
Type: function
A function to execute when the event is triggered
ctx
Type: Object
The value to be passed as the this parameter to the handler
Unsubscribe to event with specified name
type
Type: String
Name of event for unsubscribing
handler
Type: function
Handler for unsubscribing
ctx
Type: Object
context The value to be passed as the this parameter to the handler
Determine whether the specified handler subscribed with the specified context for the event with the specified name
type
Type: String
Name of event
handler
Type: function
A function to execute when the event is triggered
ctx
Type: Object
The value to be passed as the this parameter to the handler
Execute all handlers that subscribe to an event with specified name
type
Type: String
Name of event
arg
Type: Anything
Returns all handler subscribed to event with specified name
type
Type: String
Name of event

EventBus

Description: Manager for easy work with instances of the EventBusChannel

Module returns: js!EventBus

Сreates (if not exists) and returns an instance of the EventBusChannel
name
Type: String
name of requested EventBusChannel
Remove EventBusChannel with specified name
name
Type: String
name of EventBusChannel