Framework7 Message Bar
Framework7 Message bar is a resizable toolbar for usage with messages. It provides a special resizable toolbar to work with messaging system in application.
Syntax for message bar layout:
The place for message bar layout is very important and it should be inside the page and right before message content.
The method has two options:
messagesbarContainer: It is a required HTML element or string that includes messagebar container HTML element.
parameters: It specifies an object with messagebar parameters.
maxHeight: It is used to set maximum height of textarea and will be resized depending on the amount of its text. The type of parameter is number and the default value is null.
The following table shows the messagebar properties:
Initialize Messagebar with HTML
You just need to add the messagebar-init class to the .messagebar and you can pass the required parameters using data- attributes.
See the following code how to initialize the messagebar with HTML:
Next TopicFramework7 Refresh