All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- improve stability
- auto - willUpdate
- major / minor updates
- update the getWebSocket / passWebSocket methods
- debug flag to trigger all console.log messages
- this.error with more error messages
- Minor fix in the examples, README.md
- TODO this.ws = null when a bad url value is received
- Fix auto connect functionality when the url attribute changes
- web-socket check the url presence before try to create a new WebSockets
- web-socket.js connection (null always set before create new connection)
- Url in UI retrieved from WebSocket
- Update the wsStatus when passWebSocket() is called
- UI is controlled with this.connected Boolean
- Handle not valid JSON When JSON checkbox is true
- getWebSocket () method to get back the WebSocket object from WebComponent
- Now you can pass the WebSocket object when creating the WebComponent
Check the examples
- Fix the layout grid bug into the web-socket
- New responsive layout based on grid
- Fix message box vertical scroll
- Clear button only clean error / messages box
- JSON prettify checkbox
- CSS overflow property of message content
- More flexibility on height size of all widget
- Minor fix
- CSS svg fill
- Better responsive
- Minor Fix
- Color scheme light / dark compatible with custom var
- Clean input box when message sent
- button:active style for sent button
- Responsive screen height CSS property to do not grow bigger than screen
- attribute noui become ui
- Code refactoring, properties, attributes, methods
- clearTimeout bug fixed
- attribute noui
- dispatch a CustomEvent 'ws-message' with message received from ws
- dispatch a CustomEvent 'ws-status' when the status of ws changes
- dispatch a CustomEvent 'ws-error' when an error is collected
- connect() method to connect the ws to url defined into attribute
- disconnect() method to disconnect the ws
- sendMsg(msg) method to send message down the ws
- auto setInterval / clearInterval bug fix
- noui attribute - No User interface
- auto attribute - Automatic connection every 10s
- New User Interface
- Init the Element @cicciosgamino.