Skip to content

JavaScript minimal editor for use with the streamhub sdk.

License

Notifications You must be signed in to change notification settings

Livefyre/streamhub-editor

 
 

Repository files navigation

streamhub-editor

Build Status

Minimal editor for use with streamhub.

Implementing a Subclass

The Editor is itself a subclass of View.

The Editor defines a _i18 property for its display strings that can either be overridden or extended.

The Editor has a few abstract methods:

@param {Object} data
#sendPostEvent

What to do with the comment data (dispatch a DOM event, invoke a service, etc.)

@param {Object} data
#_handlePostFailure = util.abstractMethod;

What to do on error.

@param {Object} data
#_handlePostSuccess = util.abstractMethod;

What to do on success.

About

JavaScript minimal editor for use with the streamhub sdk.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 93.0%
  • CSS 4.9%
  • HTML 1.7%
  • Makefile 0.4%