Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type A ¶
type A struct { // en: Instructs browsers to download a URL instead of navigating to it, so the // user will be prompted to save it as a local file. // Value type: <string> ; Default value: none; Animatable: no Download string // en: The URL or URL fragment the hyperlink points to. // Value type: <URL> ; Default value: none; Animatable: yes HRef string // en: The human language of the URL or URL fragment that the hyperlink points to. // Value type: <string> ; Default value: none; Animatable: yes HRefLang string // en: A space-separated list of URLs to which, when the hyperlink is followed, // POST requests with the body PING will be sent by the browser (in the // background). Typically used for tracking. For a more widely-supported feature // addressing the same use cases, see Navigator.sendBeacon(). // Value type: <list-of-URLs> ; Default value: none; Animatable: no Ping []string // en: Which referrer to send when fetching the URL. // Value type: no-referrer|no-referrer-when-downgrade|same-origin|origin| // strict-origin|origin-when-cross-origin|strict-origin-when-cross-origin| // unsafe-url ; Default value: none; Animatable: no ReferrerPolicy int //todo: fazer // en: The relationship of the target object to the link object. // Value type: <list-of-Link-Types> ; Default value: none; Animatable: yes Rel []string // en: Where to display the linked URL. // Value type: _self|_parent|_top|_blank|<name> ; Default value: _self; // Animatable: yes Target int //todo: fazer // en: A MIME type for the linked URL. // Value type: <string> ; Default value: none; Animatable: yes Type string }
type Animate ¶
type Animate struct { // en: The begin attribute defines when an animation should begin or when an // element should be discarded. // The attribute value is a semicolon separated list of values. The interpretation // of a list of start times is detailed in the SMIL specification in "Evaluation of // begin and end time lists". Each individual value can be one of the following : // <offset-value>, <syncbase-value>, <event-value>, <repeat-value>, // <accessKey-value>, <wallclock-sync-value> or the keyword indefinite. Begin svgDur.Dur // en: The dur attribute indicates the simple duration of an animation. Dur svgDur.Dur // en: The end attribute defines an end value for the animation that can constrain // the active duration. End svgDur.Dur // en: The min attribute specifies the minimum value of the active animation // duration. Min time.Duration // en: The max attribute specifies the maximum value of the active animation // duration. Max time.Duration // en: The restart attribute specifies whether or not an animation can restart. Restart svgRestart.Restart // en: The repeatCount attribute indicates the number of times an animation will // take place. RepeatCount svgRepeatCount.RepeatCount // en: The repeatDur attribute specifies the total duration for repeating an // animation. RepeatDur svgRepeatDur.RepeatDur // en: The fill attribute has two different meanings. For shapes and text it's a // presentation attribute that defines the color (or any SVG paint servers like // gradients or patterns) used to paint the element; for animation it defines the // final state of the animation. Fill string }
type AnimateMotion ¶
type AnimateMotion struct { // en: This attribute indicate, in the range [0,1], how far is the object along the // path for each keyTimes associated values. // Value type: <number>*; Default value: none; Animatable: no KeyPoints int // en: This attribute defines the path of the motion, using the same syntaxe as the // d attribute. // Value type: <string>; Default value: none; Animatable: no Path string //en: This attribute defines a rotation applied to the elment animated along a // path, usualy to make it pointing in the direction of the animation. // Value type: <number>|auto|auto-reverse; Default value: 0; Animatable: no Rotate int }
en: The SVG <animateMotion> element let define how an element moves along a motion path. Note: To reuse an existing path, it will be necessary to use an <mpath> element inside the <animateMotion> element instead of the path attribute. Note: For <animateMotion> the default value for the calcMode attribute is paced
Click to show internal directories.
Click to hide internal directories.