Skip to content

Latest commit

 

History

History
62 lines (37 loc) · 1.33 KB

index.md

File metadata and controls

62 lines (37 loc) · 1.33 KB

Bricks module

mp instance.bricks(Style)

Bricks builder class instantiation


Params:


Style | object, OPTIONAL

Options:

Field Type Values
theme string default
dark
bootstrap
flat

Returns: BricksBuilder


isInitialized METHOD
create METHOD

BricksBuilder.isInitialized()

Method that returns whether the Bricks class is initialized or not

Params

None.

Returns: boolean


BricksBuilder.create(brick, target, settings)

This methods creates and renders the brick on the screen.


Note: The Brick loads in the HTML of the client's page. Therefore, the font applied to the containing element will be applied to the Brick.

Note: The Brick will occupy all the available space in the containing element. Never being bigger than it's container, and is totally responsive without additional configuration.


Refer to the specific Brick API refence for parameters and methods specifications.
cardPayment
payment
statusScreen