All Projects → tcarlsen → Atom Message Panel

tcarlsen / Atom Message Panel

Licence: mit
An easy way to display your messages in Atom

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Atom Message Panel

mongoose-slug-plugin
Slugs for Mongoose with history and i18n support (uses speakingurl by default, but you can use any slug library such as limax, slugify, mollusc, or slugme)
Stars: ✭ 21 (-65%)
Mutual labels:  handler, message
Library Management System
📚 An automated library management system developed in Laravel 4.2 PHP MVC Framework
Stars: ✭ 189 (+215%)
Mutual labels:  panel, bootstrap
Discord Panel
📊 User friendly dashboard/tool for discord bot developpers to manage servers
Stars: ✭ 116 (+93.33%)
Mutual labels:  panel, bootstrap
Ekko
Framework agnostic PHP package for marking navigation items active.
Stars: ✭ 275 (+358.33%)
Mutual labels:  helper, bootstrap
Starter Kit
📦 Angular 11+ starter kit for enterprise-grade projects
Stars: ✭ 1,102 (+1736.67%)
Mutual labels:  bootstrap
Messg
Messages via CSS3 animations
Stars: ✭ 56 (-6.67%)
Mutual labels:  message
Phpmc7
A Minecraft server manager written by PHP. Support multiple platform, FTP and BungeeCord.
Stars: ✭ 56 (-6.67%)
Mutual labels:  panel
Scalajs Bootstrap
Scala.js bootstrap components
Stars: ✭ 55 (-8.33%)
Mutual labels:  bootstrap
Atom Cursor History
Cursor position history manager
Stars: ✭ 60 (+0%)
Mutual labels:  atom
Go Httpwares
Go HTTP Server Middleware and Client Tripperware
Stars: ✭ 60 (+0%)
Mutual labels:  handler
Admin4b
Bootstrap 4 Admin Template
Stars: ✭ 58 (-3.33%)
Mutual labels:  bootstrap
Bootstraptable Treeview
bootstrapTable extension of treeView
Stars: ✭ 57 (-5%)
Mutual labels:  bootstrap
Restfeel
RESTFeel: 一个企业级的API管理&测试平台。RESTFeel帮助你设计、开发、测试您的API。
Stars: ✭ 59 (-1.67%)
Mutual labels:  bootstrap
Messageviewjs
Talking Scene JavaScript Library
Stars: ✭ 56 (-6.67%)
Mutual labels:  message
Atom Auto Prettier
An Atom package that semantically reformats Javascript based on the window size
Stars: ✭ 60 (+0%)
Mutual labels:  atom
Bootstrap Dark
The Definitive Guide to Dark Mode and Bootstrap 4 - A proof of concept
Stars: ✭ 54 (-10%)
Mutual labels:  bootstrap
Student Management System
This is a simple web-based student management software written in PHP and Javascript. This was specifically written for school or educational organization.
Stars: ✭ 58 (-3.33%)
Mutual labels:  bootstrap
Cloud Portal
Self service web portal for different Cloud platforms like Azure, AWS and VMWare vSphere.
Stars: ✭ 60 (+0%)
Mutual labels:  bootstrap
Springboot v2
SpringBoot_v2项目是努力打造springboot框架的极致细腻的脚手架。包括一套漂亮的前台。无其他杂七杂八的功能,原生纯净。
Stars: ✭ 1,093 (+1721.67%)
Mutual labels:  bootstrap
Atom
Atom file-specific icons for improved visual grepping.
Stars: ✭ 1,093 (+1721.67%)
Mutual labels:  atom

The Atom Message Panel

npm version npm license npm downloads Gitter chat

The easy way to display your messages in Atom.

preview

Why!?

To streamline how plugin messages are displayed in Atom! ✊

Checkout this list of packages already using Atom Message Panel.

Usage

JavaScript:

var MessagePanelView = require('atom-message-panel').MessagePanelView,
    PlainMessageView = require('atom-message-panel').PlainMessageView;

var messages = new MessagePanelView({
  title: 'It\'s alive..... IT\'S ALIIIIIVE!!!!'
});

messages.attach();

messages.add(new PlainMessageView({
  message: 'I did it mommy, I made my first Atom Message Panel!',
  className: 'text-success'
}));

CoffeeScript:

{MessagePanelView, LineMessageView} = require 'atom-message-panel'

messages = new MessagePanelView
    title: 'Remember your Coffee!'

messages.attach()

messages.add new LineMessageView
    line: 1
    character: 4
    message: 'You haven\'t had a single drop of coffee since this character'

API

MessagePanelView:

It all depends on this guy, this is your init function and you will need it 😎

  • new MessagePanelView(params):
  • title: the title of your panel
  • rawTitle: sat to true will allow the title to contains HTML (default is false)
  • closeMethod: What should the close button do? hide (default) or destroy.
  • speed: how fast you what the fold/unfold function to run (default is fast)
  • recentMessagesAtTop: should new messages be added at the top? (default is false)
  • position: should the panel attach to the "top", "bottom", "left" or "right" (default is bottom)
  • maxHeight: set a max-height of the panel body (default is 170px)
  • attach(): append the panel to the Atom view
  • close(): closes the panel
  • setTitle(title:string,raw?:boolean): change the panel title
  • toggle(): fold/unfold the panel
  • unfold(): unfold the panel
  • clear(): clear the body
  • add(): add a view to the panel
  • remove(index): remove a view from the panel
  • state(): get current state informations about your panel

PlainMessageView:

Lets you add a simple message 💬

  • PlainMessageView(params):
  • message: your message to the people
  • raw: sat to true will allow the mesage to contains HTML (default is false)
  • className: adding css classes to your message (this is optional)

LineMessageView:

Lets you add messages for a specific line and character, and it will even navigate the user to that position with a single click 💥

  • LineMessageView(params):
  • message: your message to the people
  • line: what line are we talking about?
  • file: so, was that in some other file? (this is optional)
  • character: lets be more specific of what we are talking about (this is optional)
  • preview: lets you display a code snippet inside a pre tag (this is optional)
  • className: adding css classes to your message (this is optional)

License

MIT © tcarlsen

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].