Repository navigation
Releases: pyhoon/MiniHtml-B4X
Releases · pyhoon/MiniHtml-B4X
Release list
v0.90
Whats's New
- Introduced the FormatAttributes property and related getter/setter to control multi-line formatting of tag attributes in the BuildImpl method.
- Refactored attribute rendering logic to support formatted output.
- Swapped the implementations of comment and comment2 to clarify their behavior.
- Introduced new modules: Aside.bas, Header.bas, and SvgPath.bas for additional HTML and SVG tag support.
- Extended Tag.bas with new methods for Alpine.js and SVG attributes (x, xinit, xdata, xmodel, xshow, xtext, xbind, bind, xon, on, d, strokes, fill, rules, viewBox, viewBox2, altOf, hidden, readonly).
- Updated Div, Footer, Nav, Img, and Svg modules to utilize these enhancements.
Full Changelog: v0.80...v0.90
v0.80
Whats's New
- Refactored tag building logic in Tag.bas to improve handling of line feeds, indentation, and self-closing tags.
- Added support for Alpine.js attributes (x-data, x-model, x-show, x-text) and data-bs-* attributes.
- Updated link tag methods for clarity and consistency.
- Updated version to 0.80 in manifest and source files.
- Cleaned up and improved the HTML generation logic in MiniHtml.b4j
- Adjusted Document.bas for more flexible text appending.
Full Changelog: v0.70...v0.80
v0.70
v0.60
What's New
- Snippets
- Added Pakai Globals.txt
- Added Pakai Handler.txt
- Custom Class Templates
- MainView class - for generating html for "base template" in Pakai Server v6.00
What's Changed
- Snippets
- Removed all old snippets
- text2 sub returns as Tag type
v0.50
v0.40
v0.30
What's New
- Added new modules
- Caption
- Footer
- Nav
- Svg
- Added new sub to Tag class
- ChildByTagName
- data
- aria
- valueOf
- formOf
- script4
- hxOn
- Added new sub to Form module
- hxGet
- hxPost
- hxPut
- hxPatch
- hxDelete
- Added new sub to Head module
- script3
- Added new sub to Input module
- attr3
- valueOf
- Added new sub to Option module
- attr3
- valueOf
- Added new sub to Button module
- formOf
- Added setShowParserLogs property in MiniHtmlParser class
What's Updated
- Tag class
- Initialize sub added textarea tag
- Initialize sub added p tag
- ParseAttributes sub in MiniHtmlParser class
- boolean attribute support
- ConvertToTag sub in MiniHtmlParser class
- Head module
- attr
- attr2
- script
- script2
- scripts3
- Snippet
- Component @modal.txt
v0.20
What's New
- Added ConvertToTag sub to MiniHtmlParser and improved from previous ConvertTagNodeToTag sub
- Added Snippets (33 snippets)
- Added Icon module
- Added Tfoot module
- Aded sub in Tag class
- responsive
- Tags
- build3
- build4
- add
- add2
- add3
- addTo
- addTo2
- addTo3
- addSibling
- addSibling2
- addSibling3
- addSibling4
- down
- down2
- down3
- up
- up2
- up3
- sib
- sib2
- sib3
- sib4
- hrefOf
- srcOf
- typeOf
- setAttributes
- addAction
- action
- PrintMe
- Added property in Tag class
- Parent
- Children
- Siblings
- id
- name
- Added sub in Html module
- comment
- comment2
- Added sub in Document module
- mIndentString
- setIndentString
- AddIndent2
What's Updated
- GenerateHtml sub test code in Main
- Create B4xlib macros in Main to include Snippets folder
- Added in most modules with following new subs
- id
- name
- cls
- sty
- add
- up
- Some subs removed in the modules
- New methods added Html module added
- comment
- comment2
- Added more tags for uniline for Initialize sub in Tag class
- Updated code for build and build2 subs to use new build3 sub in Tag sub
- Updated code in Tag class with new subs
- Updated code for required sub
- Updated example in README
What's Changed
- Renamed variables in Document module
- mTabs to mIndents
- Renamed subs in Document module
- setTabs to setIndents
- AddTabs to AddIndent
- TabsIncrease to IndentMore
- TabsDecrease to IndentLess
- Renamed subs in Tag class
- innerTags to Children
- innerTag to Child
- innerTagById to ChildById
- PrintInnerTags to PrintChildren
- attribute to attr
- attribute2 to attr2
- attribute3 to attr3
- setJsonAttributes to attr4
- Renamed property in Tag class
- Name to TagName
- Renamed constant in tag class
- mNormal to mMultiline
- Renamed modules name
- Select to Dropdown
- Table to HtmlTable
- Append sub returns as Document object
- Append2 sub does not return as Document object
9 Renamed other local variables inside subs for standardization and avoid conflict- name
- tagName
- tagId
- href
What's Removed
- ConvertTagNodeToTag sub in Main
- Some suspected unused subs set to Private before remove in the future
- innerText
- TextInline
- TextNextLine
Too many changes and I must have missed something.
Check the Snippets!
It maybe useful for creating web pages to be use in Pakai server framework.