package
0.0.0-20190805231625-a20b76dc0815
Repository: https://github.com/gregable/amppackager.git
Documentation: pkg.go.dev

# Functions

ApplyLayout applies the AMP layout algorithm to the given custom element (prefixed with "amp-"), by performing the same calculations that the AMP runtime would perform, and recording the results in the style attribute.
Parses the layout attribute value of the given node and returns the corresponding AmpLayout_Layout enum.