-
Notifications
You must be signed in to change notification settings - Fork 0
Raw HTML & CSS
Brandon Jordan edited this page Aug 31, 2022
·
12 revisions
This is for features that are not yet implemented in jsUI, but also for custom HTML components, very specific CSS properties, etc.
If you need to drill in further and apply your own raw CSS to the page, use the addCSS()
function.
jsUI.addCSS({
'selector': {
'property': 'value'
}
});
You can also apply custom CSS properties to elements using the property()
method.
Component()
.property('property','value')
If you need to drill in further and apply your own raw HTML to the page, use the Tag()
element. It takes an HTML tag as its argument. To apply custom attributes to the element, use the attribute()
method.
Tag('div')
.attribute('attribute','value')