October 2017
Intermediate to advanced
370 pages
8h 57m
English
With amp-bind, we can execute JavaScript-like expressions from a set of whitelisted JavaScript functions that includes Array, String, and Math based operations. You can see a full list of whitelisted functions in Appendix C, or online at ampproject.org/docs/reference/components/amp-bind#white-listed-functions.
Expressions can access any state data in the document. To use a state property in an expression, just include the property name in the expression. Some example expressions are given as follows.
Read now
Unlock full access