Comments (6)
Ugh. I see the problem. Let me cut a new release.
from kslides.
Yes, you are obviously right! Sorry about that. I added topLeftSvgClass, topLeftSvgStyle, topRightSvgClass, and topRightSvgStyle attributes. If the Class attributes are blank, then they default to "top-left-svg" and "top-right-svg"
I hope those do the trick.
Thanks for the PR!
from kslides.
Actually, it was not the dumb mistake I thought that it was. The topRightSvg and topLeftSvg were meant to be assigned the actual svg tag details, e.g.,
kslides/kslides-core/src/main/kotlin/com/kslides/config/PresentationConfig.kt
Lines 325 to 330 in d1091ee
I will add a topLeftSvgSrc and topRightSvgSrc to accommodate your usage.
from kslides.
Okay, update your gradle.properties to use kslides_version=0.13.1 and use topRightSvgSrc
from kslides.
Awesome 🙌 thanks for the quick response. Looks like setting the svg directly with topRightSvgSrc
will set the image correctly, but won't apply any styling, and the hense the size will be 0. Is this intended?
Not sure if this is something you can fix with custom styling as the element doesn't have a class of it's own
from kslides.
Not sure if #18 is the direction you want to handle this issue
from kslides.
Related Issues (6)
- Can't consume kslides HOT 7
- Split kslides into multiple submodules that on can opt in HOT 6
- ConcurrentModificationException gets thrown if a Presentation.extension() contains verticalSlides inside of which you call Presentation.anotherExtension() HOT 6
- kslides appears as a JS project on GitHub HOT 1
- Adjust code snippet width/height HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kslides.